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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ji890
Frequent Visitor

Ignoring multiple filters

Hi,

 

I have the following table:

ji890_0-1683295426025.pngji890_2-1683295837506.png

 

and two slicers, one for Room Code and another for Room Code Dup Boys. I am trying to create a measure (new) that would output the sum of count for the items selected with the Room Code Dup Boys slicer while ignoring any other slicers on the page that have values selected. I have tried different combinations using CALCULATE(), ALL(), ALLEXCEPT(), etc., but nothing seems to work. I am using a card visualisation to display the measure, and I haven't been able to ignore the other slicers succesfully. My intention is to use the measure with other calculations, so I would prefer to use the measure to filter the data instead of the card visual filters.

 

Pbix File 

 

 

 

ji890_1-1683295765332.png

Any help with this will be very appreciated. 

 

4 REPLIES 4
ji890
Frequent Visitor

Hi @tamerj1,

 

Thank you very much for your help 😊. I have tried this:

 

ji890_0-1683330905350.png

but I'm still getting Blank as an output. 

Do you know where the error might be?

 

Thank you!

@ji890 Responding to your PM, try this:

Measure = 
    VAR __DupBoys = DISTINCT('Sheet1'[Room Code Dup Boys])
    VAR __Table = FILTER(ALL('Sheet1'), [Room Code Dup Boys] IN __DupBoys)
    VAR __Result = SUMX(__Table, [Count])
RETURN
    __Result


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...

Hi @Greg_Deckler ,

Thank you so much for your help and quick reply 😊. I have tried your suggestion but still not getting the expected outcome.

Sample File 

 

Do you have any other ideas? Thank you!

tamerj1
Super User
Super User

Hi @ji890 

ALLEXCEPT won't work as long as the column is not part of the visual. You need to use ALL + VALUES like

CALCULATE (

[Measure],
ALL ( 'Table' ),

VALUES ( 'Table'[Column] )

)

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.