Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
I have table visual where ABC and MAN Coulmn have some blank values so Instaed of blank values i wnat to show 0. how this is possible?
and I'm using these measure for this.
ABC = CALCULATE(SUM('XYZ'[Order Value ]), 'XYZ'[ABC/MAN] = "A")
MAN = CALCULATE(SUM('XYZ'[Order Value ]), 'XYZ'[ABC/MAN] = "M")
but if i apply these measures Top 10 is not working.
Could you please help in this!
Thanks in advance.
Hi @Rockz
Use below measure
ABC = If(IsBlank(CALCULATE(SUM('XYZ'[Order Value ]), 'XYZ'[ABC/MAN] = "A")),0,CALCULATE(SUM('XYZ'[Order Value ]), 'XYZ'[ABC/MAN] = "A"))
MAN = If(IsBlank(CALCULATE(SUM('XYZ'[Order Value ]), 'XYZ'[ABC/MAN] = "M")),0,CALCULATE(SUM('XYZ'[Order Value ]), 'XYZ'[ABC/MAN] = "M"))
If solve your requirement, please MARK THIS ANSWER AS SOLUTION
Proud to be a Super User! | |
ABC =COALESCE(CALCULATE(SUM('XYZ'[Order Value ]), 'XYZ'[ABC/MAN] = "A"),0)
MAN = COALESCE(CALCULATE(SUM('XYZ'[Order Value ]), 'XYZ'[ABC/MAN] = "M"),0)
====
ABC =
VAR _t1 =CALCULATE(SUM('XYZ'[Order Value ]), 'XYZ'[ABC/MAN] = "A")
RETURN IF(_t1,_t1,0)
MAN =
VAR _t1 = CALCULATE(SUM('XYZ'[Order Value ]), 'XYZ'[ABC/MAN] = "M")
RETURN IF(_t1,_t1,0)
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
115 | |
112 | |
105 | |
95 | |
58 |
User | Count |
---|---|
174 | |
147 | |
136 | |
102 | |
82 |