Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I have this line graph above but I only want to focus on the Client brand and just ignore the rest. Now I can just simply use the filter pane to only show the Client brand but an issue arises wherein the percentage changes.
After using the filter pane to only show the Client I get this
Before using the filter pane, my Client percentage for February is 3.13% but after showing only the Client, the percentage changes to 20.48%
How do I prevent this behavior? My total client percentage is 15% so after filtering to only show the client, I want the months to amount to 15% and not be automatically adjusted to amount to 100%
Solved! Go to Solution.
You'll need to use a measure that ignores the filter settings in the denominator.
Try this:
Qty% =
DIVIDE (
SUM ( SOS[Quantity] ),
CALCULATE (
SUM ( SOS[Quantity] ),
ALL ( BrandDim ),
ALL ( 'Calendar' )
)
)
The numerator is the sum in the local filter context (Brand and Month) whereas the denominator removes all Brand filter context and Calendar filter context.
You'll need to use a measure that ignores the filter settings in the denominator.
Try this:
Qty% =
DIVIDE (
SUM ( SOS[Quantity] ),
CALCULATE (
SUM ( SOS[Quantity] ),
ALL ( BrandDim ),
ALL ( 'Calendar' )
)
)
The numerator is the sum in the local filter context (Brand and Month) whereas the denominator removes all Brand filter context and Calendar filter context.
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
104 | |
98 | |
97 | |
41 | |
38 |
User | Count |
---|---|
151 | |
122 | |
78 | |
73 | |
67 |