Forum Discussion
Anonymous
9 years agoNot applicable
Count zeros only
I want to count customers with zero revenue only. I'm able to count customers with revenue, but I can't make the inverse work no matter what formula I try. This is my latest failure: Zero On...
- 9 years ago
Hi Anonymous,
As the picture showed, the upper is my test data and the bottom is the result. It works, which is the formula in your first post. Could you please post a snapshot of the result of yours? How does it show up in a Card visual?
Best Regards!
Dale
Interkoubess
9 years agoSolution Sage
Hi Anonymous
Did you try the formula Zero Only = calculate(COUNTROWS(the column),FILTER('All Cust','All Cust'[Revenue]=0))
I tried a formular silmilar to this and it worked ( image attached).
Thx.
Anonymous
9 years agoNot applicable
Zero Only = CALCULATE(
COUNTROWS('All Cust'),
'All Cust',
'All Cust'[Revenue]=0
)