Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a table with a list of all Accounts & their sales
I need to flag all Accounts what have 0 sales
My Sales Measure is;
TY QTY being a simple sum measure - but returns blanks not 0's
My current Has No Sales measure is;
I have tried both Count & DistinctCount - both return the same result - below
This is counting an account with £14 sales and not flagging those with £0
however this doesnt count the bottom £24 value?
Please advise
Hi @Anonymous,
Can you please share a pbix or some dummy data that keep raw data structure with expected results? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
if it's in the same table then you can just go, but this might be too simple to understand this issue. Can you share the actual data you using in text format? Including the columns you are using to derive your measures
CALCULATE(DISTINCTCOUNT('Sale Data'[Account No.]) , sales = 0)
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |