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
MichaelG_NAC
Frequent Visitor

Sliced Count of Total Count

Hello 

 

I am looking to create a measure which shows a count which can be sliced divided by the original count 

 

Something along the lines of 

 

Measure = A/B

 

Where A is the count which has been changed by the slicers and where B is the original count before the slicers 

I think the FILTER(ALL()) Function would be used but so far has not worked 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi michael,

 

Measure a is just:

CountSlicer = COUNT("what you want to count")

and measure b is:

CountBeforeSlicer = CALCULATE([a],ALL("Table used for count"))

That should do the trick. If it does not work can you post some sample data and be more specific with your current and expected results?

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi michael,

 

Measure a is just:

CountSlicer = COUNT("what you want to count")

and measure b is:

CountBeforeSlicer = CALCULATE([a],ALL("Table used for count"))

That should do the trick. If it does not work can you post some sample data and be more specific with your current and expected results?

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.