cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
jamezcua9
Frequent Visitor

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors