Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

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 who are Full Time. 

So for example, i have a empNo field, EmpStatus field (which contains full time, part time, and casual), and a sales field. 

I can't seem to get my formula to work. I did DISTINCTCOUNT([empNo.] to get unique employee numbers but i can't seem to figure out how to then filter this to return total sales for employees who are full time. 

Thanks all 

2 Replies