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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

how do I bring a column in to a visual without it being filtered by the slicer?

Hello,

Does anyone know the dax formula to create a new measure that says count distinct but ignore the filter thats being used on the page?

 

I am trying to show:

the count distinct of orders for the general population

vs

the count distinct of orders for type of order selected in the slicer

 

I am using the visual line and clustered column chart where I want the count distinct orders both next to each other under column values. I just need to know the formula to place on the duplicated order column that ignores the slicers!

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous

 

Try this:

 

Dist with ALL Meas = CALCULATE(DISTINCTCOUNT(Table1[Country]),ALL(Table1))

 

Thanks
Raj

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous

 

Try this:

 

Dist with ALL Meas = CALCULATE(DISTINCTCOUNT(Table1[Country]),ALL(Table1))

 

Thanks
Raj

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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