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
jamezcua9
Helper I
Helper I

Measure not summing correctly for the total row

Hello, I've been having trouble getting my measure to sum for the total row.  

Here's the measure i'm currently using.

SumSTOO = CALCULATE(SUMX('STOO Plan Cluster','STOO Plan Cluster'[DAILY_STOO]))
 
And then creating another measure on top of that one.
DailyStooByLine = CALCULATE(IF(ISFILTERED(DimShift[Shift]),[SumSTOO]/21/2,[SumSTOO]/21))
 
I get the same value accross the entire column even the total row. 2019-04-09_11-35-38.jpg

 

 

1 ACCEPTED SOLUTION
v-lili6-msft
Community Support
Community Support

hi, @jamezcua9 

This looks like a measure totals problem. Very common. See this post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376

Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907

 

If you still have the problem, please share your sample pbix file.

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Lucie_K
Regular Visitor

The Final Word article solved my issue with incorrect sums, thanks a lot for sharing!

v-lili6-msft
Community Support
Community Support

hi, @jamezcua9 

This looks like a measure totals problem. Very common. See this post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376

Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907

 

If you still have the problem, please share your sample pbix file.

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

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.