Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Praj
New Contributor III

How to get rows which is NOT selected in a visual

Hello Everyone,

I am loooking for a way to gather rows which is not selected in a visual. 

For example, 

 

Below is my dataset which has two columns-User and Event Attended.

 

Praj_0-1669828793442.png

 

I am using a date slicer on column "Event Attended".

Praj_1-1669828981636.png

 

I know whenever I select Q1 in my slicer, the users who are associated with an event during that quarter is displayed in the table like below image however, I am looking for a way to display the users who are not part of Q1. Is there any way to get these user details(cc,ee,ff).

 

Praj_3-1669829304476.png

 

Any approach for this problem is appreciated. 

 

Thanks in advance

Cheers,

Praj

 



1 ACCEPTED SOLUTION
Greg_Deckler
Esteemed Contributor III

@Praj Try this inverse slicer method: Inverse Selector - Microsoft Power BI Community



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Greg_Deckler
Esteemed Contributor III

@Praj Try this inverse slicer method: Inverse Selector - Microsoft Power BI Community



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Praj
New Contributor III

Hi @Greg_Deckler ,

Thanks for your approach. The standard selector is woring in my case however, the inverse selector seems to be blank and doesn't show any data. I am using DATE as a slicer.  Below is the code I have modified for my case 

Standard Selector = 
VAR __dept = MAX([User])
VAR __products = VALUES('Date'[Event Attended])
VAR __table = SELECTCOLUMNS(FILTER(ALL('Engagement'),[Event Attended] IN __products),"__dept",[User])
RETURN
IF(__dept IN __table,1,BLANK())
Inverse Selector = 
VAR __dept = MAX(Engagement[User])
VAR __products = VALUES('Date'[Event Attended])
VAR __table = SELECTCOLUMNS(FILTER(ALL('Engagement'),[Event Attended] IN __products),"__dept",[User])
RETURN
IF(__dept IN __table,BLANK(),1)

 

Below is the visuals

Praj_0-1669890430248.png

Praj_1-1669890465642.png

 

I am not sure if this is because I am using date as a slicer.

 

Cheers,
Praj

 

 

Praj
New Contributor III

Nevermind @Greg_Deckler, The solution worked! I made a small mistake in slicer.

Cheers,

Praj

Helpful resources

Announcements
Users online (2,584)