cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
yodha
Helper IV
Helper IV

Matrix measure totals are wrong

Hi, 

I have created a measure to replace "0"s with "blanks" in my matrix. Though it is displaying "blanks" in place of "0"s, showing incorrect totals and other values in the column.

This is my measure:

Measure = IF(MAX('Table'[U])=0,BLANK(),MAX('Table'[U]))
 
Any help on this please?
 

 

 

1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@yodha change your measure

 

Measure = SUMX ( 'Table',  IF(CALCULATE(MAX('Table'[U]))=0,BLANK(),CALCULATE(MAX('Table'[U]))))

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!






Did I answer your question? Mark my post as a solution.

Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





View solution in original post

1 REPLY 1
parry2k
Super User
Super User

@yodha change your measure

 

Measure = SUMX ( 'Table',  IF(CALCULATE(MAX('Table'[U]))=0,BLANK(),CALCULATE(MAX('Table'[U]))))

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!






Did I answer your question? Mark my post as a solution.

Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





Helpful resources

Announcements
Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors