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 am displaying counts per category for people in matrix. All works fine, but empty cells(columns) don't show up.
I've been trying to use IF/ISBLANK to remedy this but the empty=true never works. All still displays fine for empty=false.
My statement:
actualCount = IF(ISBLANK(COUNTA(dOA[Category])), 0, counta(dOA[Category]))
or
actualCount = IF(ISBLANK(COUNTA(dOA[Category])), "zero", counta(dOA[Category]))
The conts display properly, but blanks never get replaced by 0/zero
Any ideas? Thanks.
try count > 0 in a measure?
wat?
I think he meant something like this:
Var _count = counta(dOA[Category]) Return IF( _count > 0, _count, 0)
Try this measure:
actualCount = COUNTA(dOA[Category])+0
Regards!
^Thanks. It did not change anything. Empty cells have nothing in them.
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 |
---|---|
112 | |
97 | |
85 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |