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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Mathusan1997
Frequent Visitor

PowerBI - Grand Total is Incorrect

Hi Everyone,

 

I am fairly new to PowerBI and came across an issue regarding the grand total not adding up correctly. Below is my formula.  

 

Forecasting = if ([PSCost] > 0.0 && AVERAGE('PS_Dashboard'[SOW Amount]) < ([LastMonthTotal]), (AVERAGE('PS_Dashboard'[SOW Amount])-[LastMonthTotal]-[PSCost]), IF([AvgPCProjectStatus] = 0.0 && [AvgPCSameMonth] = 1.0, AVERAGE('PS_Dashboard'[SOW Amount]) - [LastMonthTotal], PS_Dashboard_Measures[PSCost]))
 
Grand Total Not Correct.PNG
As seen above, the total is displaying as 4,250.00 whereas it should be 50. I read several threads on this forum and tried the "HASONEFILTER" function but had no luck with that as well. Please also keep in mind that I am using two different page level filters. One for "Month" and another for "Name".
 
Any help is appreciated. 
 
Thank you! 
1 REPLY 1
dax
Community Support
Community Support

Hi Mathusan1997,

 

According to your description, is [Forecasting] a measure? Or a calculated column? This might be caused by current context, I suggest you could try to share your sample data for me,  then I will  help you more correctly .

Or you also could refer to DAX Fridays! #25: Wrong Grand Totals in Power BI for detail.

 

Best Regards,

Zoe Zhi

 

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.