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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
jader3rd
Microsoft Employee
Microsoft Employee

Why is Sum() / SumX() returning a value greater than 100%

I have the Measure 

MeasureP = SUM(ReplFlush[Count]) / SUMX(ALLEXCEPT(ReplFlush,ReplFlush[Failure]), ReplFlush[Count]) and it is returning a Total of 100.0088%. I find that surprising, it should return 100%. What am I missing?

jader3rd_0-1604968950421.png

 

 

1 ACCEPTED SOLUTION

Hi, @jader3rd , indeed, ALLEXCEPT(T, C1, C2...) is tricky,

 

1. When used as a table function, ALLEXCEPT materializes all the unique combinations of the columns in the table specified in the first argument that are not listed in the following arguments;

 

2. When used as a modifier in CALCULATE or CALCULATETABLE, ALLEXCEPT removes the filters from the expanded table specified in the first argument, keeping only the filters in the columns specified in the following arguments.

 

You might to refer to the link for more details.


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

View solution in original post

3 REPLIES 3
jader3rd
Microsoft Employee
Microsoft Employee

I think that it has to do more with my understanding of when to use ALL vs ALLEXCEPT. Something along the lines of one helps when getting the total for a row vs. the other helps when getting to total for a column.

Hi, @jader3rd , indeed, ALLEXCEPT(T, C1, C2...) is tricky,

 

1. When used as a table function, ALLEXCEPT materializes all the unique combinations of the columns in the table specified in the first argument that are not listed in the following arguments;

 

2. When used as a modifier in CALCULATE or CALCULATETABLE, ALLEXCEPT removes the filters from the expanded table specified in the first argument, keeping only the filters in the columns specified in the following arguments.

 

You might to refer to the link for more details.


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

wdx223_Daniel
Super User
Super User

it is a error from floating-point camputation.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.