Forum Discussion
Anonymous
7 years agoNot applicable
DAX Help - DISTINCTCOUNT
Hi All, I'm a bit stuck on something. What i'm trying to do is get a distinct count of unique employees and then based on these unique employees, i want to get the total sales made by employees w...
- 7 years ago
hi, Anonymous
You could use "FILTER" in your dax formula.
For example:
Measure = CALCULATE( DISTINCTCOUNT([empNo.] , FILTER( 'Table', [EmpStatus] = "full time"))
If not your case, please share some sample data and expected output.
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Best Regards,
Lin
Ashish_Mathur
Super User
7 years agoHi,
Show some data and also the expected result.