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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
WaisaleBunoa
New Member

Total Not Adding

I am trying to add the Column Target MRC to show total like MRC vs Target. These are measures.

 

Total Not Adding.png 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @WaisaleBunoa ,

 

It's a common issue.

Here're some blogs about fixing the wrong total using measures. Please refer to

Fixing Incorrect Totals Using DAX Measures In Power BI – Master Data Skills + AI (enterprisedna.co)

Why my measure returns the wrong total? How to fix that? (vahiddm.com)

Why Power BI totals might seem inaccurate - SQLBI

Dealing with Measure Totals - Microsoft Fabric Community

To update these measures to have the sum of the visible values in the visual, we need to use the IF statement with HASONEVALUE, SUMMARIZE, and SUMX.

HASONEVALUE: Returns TRUE when the context for columnName has been filtered down to one distinct value only. Otherwise is FALSE.
SUMMARIZE: Returns a summary table for the requested totals over a set of groups.

SUMX: Returns the sum of an expression evaluated for each row in a table.

 

Best Regards,

Stephen Tao

 

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
Anonymous
Not applicable

Hi @WaisaleBunoa ,

 

It's a common issue.

Here're some blogs about fixing the wrong total using measures. Please refer to

Fixing Incorrect Totals Using DAX Measures In Power BI – Master Data Skills + AI (enterprisedna.co)

Why my measure returns the wrong total? How to fix that? (vahiddm.com)

Why Power BI totals might seem inaccurate - SQLBI

Dealing with Measure Totals - Microsoft Fabric Community

To update these measures to have the sum of the visible values in the visual, we need to use the IF statement with HASONEVALUE, SUMMARIZE, and SUMX.

HASONEVALUE: Returns TRUE when the context for columnName has been filtered down to one distinct value only. Otherwise is FALSE.
SUMMARIZE: Returns a summary table for the requested totals over a set of groups.

SUMX: Returns the sum of an expression evaluated for each row in a table.

 

Best Regards,

Stephen Tao

 

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

 

Ritaf1983
Super User
Super User

Hi @WaisaleBunoa 

Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.