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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Praj
Helper I
Helper I

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
Super User
Super User

@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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Praj
Helper I
Helper I

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

 

 

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

Cheers,

Praj

Greg_Deckler
Super User
Super User

@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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors