cancel
Showing results for
Did you mean:
Post Patron

## Subtotal/Grand Total Not Accurate

Hi,

I have created a formula:

Onst - Cmpl = format(average('CMPL Table'[ONST to CMPL-EMST]),"HH:MM")
to display the average time it takes for a job to be completed. I am trying to figure out a way to display the average in the rows, but the sum of the averages in the subtotal and total based on the groups on the left.

I tried doing the sum of the formula, but it does not display the correct totals either.

Is there another formula I can use, or am I using this formula wrong?

please let me know if my question does not make sense.

Thank you!
1 ACCEPTED SOLUTION
Super User

@sk15227 This looks like a measure totals problem. Very common. See my 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

Become an expert!: Enterprise DNA
External Tools: MSHGQM
Latest book!:
Learn Power BI 2nd Edition
2 REPLIES 2
Super User

@sk15227 This looks like a measure totals problem. Very common. See my 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

Become an expert!: Enterprise DNA
External Tools: MSHGQM
Latest book!:
Learn Power BI 2nd Edition
Post Patron

Thank you so much!! this was very helpful!

Announcements

#### The Power BI Community Show

Welcome to the Power BI Community Show! Jeroen ter Heerdt talks about the importance of Data Modeling.

#### Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

#### Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!