cancel
Showing results for
Did you mean:

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

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.

1 ACCEPTED SOLUTION
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.
2 REPLIES 2
Regular Visitor

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

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.

Announcements

#### Power BI Monthly Update - November 2023

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

#### Fabric Community News unified experience

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

#### 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