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! Request now

Reply
carlol
Helper IV
Helper IV

Multiple Slicers -- How to select Slicer to ignore remove

 

 

 

Three Slicers

  1. Year
  2. Quarter
  3. Country

 

If I select all countries , 2021 Q1 Median is 75

If I select 1 country , (I want to igore this slicer) , it is 30 , ( I want to illustrate 75 regardless of country selection) but to still filter based on Date

 

I tried this but still illusrtates 30

 

CALCULATE ( MEDIAN ( vwKPIMedianDoorToCT[Minutes] ),ALLSELECTED (), DimDate) -- Add Date Table back in 

CALCULATE ( MEDIAN ( vwKPIMedianDoorToCT[Minutes] ),REMOVEFILTERS(DimCountry[CountryID]))
3 REPLIES 3
amitchandak
Super User
Super User

@carlol , try like

CALCULATE ( MEDIAN ( vwKPIMedianDoorToCT[Minutes] ),all(DimCountry))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Orignal Measure

 

IF (
DIVIDE ( SUM ( DataCoverage[REG]), SUM ( DataCoverage[HIPE] ) ) >= 1,
1,
 
IF(
DIVIDE ( SUM ( DataCoverage[REG] ), SUM ( DataCoverage[HIPE])) = BLANK (),
0,
DIVIDE ( SUM ( DataCoverage[REG] ), SUM ( DataCoverage[HIPE]))
)
)

Dax to ignore Slicers Year , Quarter using ALL 

 

Still doest work 

Year = 2021

Qtr = Q2 

 

Still only returns 2021 Q2

Coverage% AllYears =
VAR Reg=Calculate(SUM ( DataCoverage[REG] ),ALL(DimDate))
VAR HIPE=Calculate(SUM ( DataCoverage[HIPE]),ALL(DimDate))
VAR Fig = Divide(Reg,HIPE)
Return
Fig

Hi @carlol ,

Basically the measure should work when using ALL() to ignore the filters. Make sure the slicers you have used are from the DimDate table and consider whether there is any other relationships or other tables in the report to affect it.

 

If it still does not work, you can also consider sharing a sample data file without any sesentive information about this thread.

 

Attached with the test file which works fine in my side.

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.