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

% incorrectly updating when slicing - ALLEXCEPT DAX

Hi,

 

I've created a measure to show me the percentage of responses to a particular question on a survey, over a number of years...

 

Measure = SUM('FYE Data (2)'[Response]) / CALCULATE(sum('FYE Data (2)'[Response]), ALLEXCEPT('FYE Data (2)', 'FYE Data (2)'[Year]))
 
Example of the table below...
 
Table.png
 
When I drop the measure into s stacked bar chart and update to the corresponding year eg. 2020, the measure displays the correct percentages. However when I slice on additional years, eg. 2019 and 2020, the % displayed alters slightly, albeit by a few %. Any ideas what I'm doing incorrectly with the measure?
10 REPLIES 10

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.

Top Solution Authors