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.
I have a matrix with a generic rows of distinct values, in the example I have used colors and then the field created month for the coloumns. I am trying to show in a matrix when there is an empty field I would like it to show "0" ,as its a count instead of nothing.
I have tried :
= COALESCE(COUNT([Field1]), 0)
I have attempted all sugestions but none have worked. Ill leave this thread open if I find a solution I will post about it.
Hey @ReubenS
you can try this one:
=
Var _TOTAL= COUNT([Field1])
RETURN IF(_TOTAL = blank(),0,_TOTAL)
Cheers, LQ
Hi @ReubenS
try this measure,
Measure=if(calculate(count(Field))=Blank(),0,calculate(count(Field))
Thanks and Regards
Thennarasu
@ReubenS , This works best when the color is coming from a separate dimension
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
99 | |
88 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |