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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Helper I
Helper I


My total on the visual is wrong. How can i fix this?


below is the formula that am using:

Sales 80% = IF([Target Sales Achieve 80%]> SUM('Sales Main JO'[Actual Sales]),[Target Sales Achieve 80%]- SUM('Sales Main JO'[Actual Sales]),0)
Target Sales Achieve 80% = SUM('Sales Main JO'[Target Sales])*0.8




Community Champion
Community Champion



Sum 80% Sales = SUMX(SUMMARIZE(Table[Plan Brand], column[Plan Brand], "Sum 80% Sales", [Sales 80%]), [Sum 80% Sales])

 Use the correct "Table" and "column" names, obviously

Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.

Hi @PaulDBrown 

I did the formula as you stated:

Sum 80% sales = SUMX(SUMMARIZE('PM Main JO','PM Main JO'[Plan-Brand],"Sum 80% sales",[Sales 80%]),[Sum 80% sales])
but i get the below:
in some rows the result is 0

HI @hadjigeo ,

According to your snapshot, it seems like a common measure total issue, you can refer to the below blog to know how to deal with this.

Measure Totals, The Final Word Measure Totals, The Final Word  

In addition, if you still confused about coding formula, can you please share some sample data for further tests?

How to Get Your Question Answered Quickly  


Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Advocate IV
Advocate IV



Please see this question as I believe it's solution will be similar to your needs:

HI @jhartranft60 ,


I am not sure if i understood how to do it.

i tried that one but was giving me a wrong data.

Helpful resources

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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


Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors