The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi all,
I have columns 'ID' and 'PO'
PO columns has values 0, 100 and blank cells.
I want the count of ID where PO = 0 (only). But even the blank gets counted.
I have used this dax to eliminate blank but still I dont get the output desired. I get blank value instead .
Please help.
Hi: You can try this measure:
Hi,
In the Query Editor, change the data type of the PO column to Text. Now try this measure
SKUswith0 = CALCULATE(DISTINCTCOUNT('Master Data'[id]),'Master Data'[PO] = "0")
If you do not want to change the data type, then try this measure
SKUswith0 = CALCULATE(DISTINCTCOUNT('Master Data'[id]),'Master Data'[PO] == 0)
Hope this helps.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
18 | |
18 | |
16 | |
14 | |
13 |
User | Count |
---|---|
36 | |
35 | |
20 | |
18 | |
18 |