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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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