Forum Discussion
Count zeros only
- 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
I tried selecting just the table before FILTER and then the table with the revenue row and recieved BLANK even though I should have 11.
Zero Only = CALCULATE(COUNTROWS('All Cust'),FILTER('All Cust','All Cust'[Revenue]=0))
Anonymous
Hi, Do you have Customers with 0 Revenue in the table? or have Customer with no rows in All Cust table?.
Can you post a screenshot of your data view.
Regards
Victor
Lima - Peru
- Anonymous9 years agoNot applicable
It's customers with $0 in each row.
- Interkoubess9 years agoSolution Sage
Hi Anonymous.
Please try this formula
Zero Only = CALCULATE(COUNTROWS('ISP Name'),FILTER('All Cust','All Cust'[Revenue]=0))
Thanks
- Anonymous9 years agoNot applicable
Comes back as BLANK every time
Zero Only = CALCULATE(COUNTROWS('Distinct Cust'),FILTER('All Cust','All Cust'[Revenue]=0))
- Vvelarde9 years agoCommunity Champion
Anonymous
You have something like this in your table AllCust?
- Anonymous9 years agoNot applicable
Oh, yes, sorry about that.