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
Hayoung
Helper IV
Helper IV

Double slicer(dynamic slicer with general slicer)

I have following measure to calculate the percenatge and use it for bar chart as visuals

Q1 TEST2 = CALCULATE(COUNTROWS ('Q1'),FILTER(Q1,Q1[Facility Name] in VALUES(Demographics[Facility Name])))

Q1 TEST3 = CALCULATE(COUNTROWS ('Q1'), FILTER(ALLEXCEPT(Q1,Q1[Gender],Q1[Age],Q1[Employment],Q1[Tenure],Q1[Country/Region],Q1[Commodity],Q1[Commodity Groups],Q1[Survey Type],Q1[FY]),Q1[Facility Name] in VALUES(Demographics[Facility Name])))

Q1 PERCENTAGE = DIVIDE([Q1 TEST2],[Q1 TEST3])

 

At the same time, I have slicers: Slicer 1 is parameter slicer, which include gender, age, employment, tenure,...

Slicer 2 is a gender slicer, slicer 3 is age slicer, slicer 4 is age slicer,....

 

First, I try to use slicer 1 and select gender. Then, I try to use age slicer. But, it does not generate a summing up to 100% bar chart. Instead, it give a proportional correct bar chart, instead of summing up to 100%.

 

Do anyone know how to solve the issue?

0 REPLIES 0

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.