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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
donjek
Frequent Visitor

conflicting filters Slicer with Measure

I have a measures

1. sums qty where cat <> 'A'

 

there are many other categories

 

when the slicer is selected with only cat 'A' you would expect measure 1 to show 0? but instead it shows the total of every other cat?

 

1 ACCEPTED SOLUTION
donjek
Frequent Visitor

I adjusted to 

Quantity Non Billable = CALCULATE(SUM('fact_Time Sheet Detail'[Quantity]), KeepFilters(dim_Resource[Global Dimension 2 Code] <> "ADM"), 'fact_Time Sheet Line'[Chargeable] = 0)

 

It's working now... Thanks!

View solution in original post

3 REPLIES 3
selimovd
Super User
Super User

Hey @donjek ,

 

that depends on how exactly you wrote your measure.

Please post the actual measure you are using and we can answer your question. Don't post pseudocode, that will just lead to pseudo answers...

 

Best regards

Denis

Hi, Thanks for the reply!

 

here is the measure:

Quantity Non Billable = CALCULATE(SUM('fact_Time Sheet Detail'[Quantity]), dim_Resource[Global Dimension 2 Code] <> "ADM", 'fact_Time Sheet Line'[Chargeable] = 0)
the slicer would be selected to only show ADM
 
donjek
Frequent Visitor

I adjusted to 

Quantity Non Billable = CALCULATE(SUM('fact_Time Sheet Detail'[Quantity]), KeepFilters(dim_Resource[Global Dimension 2 Code] <> "ADM"), 'fact_Time Sheet Line'[Chargeable] = 0)

 

It's working now... Thanks!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors