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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Kurt4597
Helper I
Helper I

Total Incorrect

Hi all,

 

Currently experiencing an issue that I have hit a wall on. Would really appeciate it if anyone could help me with a solution

 

Kurt4597_0-1655135373878.png

I have the following Table, each of these columns has been pulled in from a different table.
MTD final sales = 

'MTD Forecast'[FinalSales] + 'MTD Forecast'[MTDsales Except Last week]
 
CPA = Pulled from a seperate static table 
Kurt4597_1-1655135656996.png
 
MTD Revenue = 
MTD Revenue = 'MTD Forecast'[MTD Final Sales] * average(CPA[CPA])
(Average was used for CPA here as the first table is grouped by provider name)
 
The issue is the total for the MTD Revenue is incorrect. I would like it to be £10,050 + £1,768 + £128 = £11,946. However, PowerBI is calculating £12,799 which I believe is the total sales * an average of the CPA.
 
Any suggestions / advice would be much appreciated. 
Thanks All
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Kurt4597 ,

I updated your sample pbix file(see attachment), please check if that is what you want. Please create another new measure as below to replace the measure [Revenue] on the visual...

Measure = SUMX ( VALUES ( 'Master Filter'[Provider Name] ), [Revenue] )

yingyinr_0-1655804389925.png

Best Regards

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Kurt4597 ,

Please try to create another new measure as below and put it on the visual to replace the original measure [MTD Revenue] . Later check if you can get the correct total values...

Measure = SUMX ( VALUES ( 'MTD Forecast'[Provider Name] ), [MTD Revenue] )

yingyinr_0-1655347689817.png

Incorrect total values fix methods:

Why Your Total Is Incorrect In Power BI - The Key DAX Concept To Understand

Dax for Power BI: Fixing Incorrect Measure Totals

If the above one can't help you get the desired result, please provide some sample data in your tables 'MTD Forecast' and 'CPA' (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Thank you for the response yingyinr, unforutatenly the measure you suggested does not work. I Have attatched a sample file to better explain the issue. Many Thanks! https://www.dropbox.com/s/95pgkz6k1np28qr/Sample%20File.pbix?dl=0

Anonymous
Not applicable

Hi @Kurt4597 ,

I updated your sample pbix file(see attachment), please check if that is what you want. Please create another new measure as below to replace the measure [Revenue] on the visual...

Measure = SUMX ( VALUES ( 'Master Filter'[Provider Name] ), [Revenue] )

yingyinr_0-1655804389925.png

Best Regards

Kurt4597
Helper I
Helper I

Any help would be greatly appreciated 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.