Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello Everyone,
I need urget help with Distinct count based on two column and also ignoring blank in the data with DAX in power BI
So i need column E and Column F distinct count and ignoring blank. So currently there is 37 data total and after distinct count of two column and ignoring blanck there the total count should be 31.
I have uploaded excel file with dummy data at below link.
https://drive.google.com/open?id=109V7P00IfkABYcCS6DslzK0eY58EPzVF
Urgent help would be highly appreciated.
Thanks
Solved! Go to Solution.
Hi @Anonymous
You could create a new calculated column concatenating Col E and Col F:
Column G = Table1[Column E] & Table1[Column F]
and then place the following measure in a Card visual:
Measure = CALCULATE(DISTINCTCOUNT(Table1[Column G]); Table1[Column G] <> BLANK()
)
Hi @Anonymous
You could create a new calculated column concatenating Col E and Col F:
Column G = Table1[Column E] & Table1[Column F]
and then place the following measure in a Card visual:
Measure = CALCULATE(DISTINCTCOUNT(Table1[Column G]); Table1[Column G] <> BLANK()
)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |