Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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.
User | Count |
---|---|
59 | |
22 | |
18 | |
18 | |
16 |
User | Count |
---|---|
87 | |
77 | |
52 | |
37 | |
21 |