Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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.
User | Count |
---|---|
126 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
136 | |
113 | |
102 | |
71 | |
60 |