Forum Discussion
Anonymous
9 years agoNot applicable
Distinct countx?
I have a dataset where I want to create two measures, one is the total count of employees and the other is the total count of employees who are on a particular assignment. I know would have to use th...
- 9 years ago
Total Employees = DISTINCTCOUNT ( Table[Employee] )
Total Employees (on Assignment X) =
CALCULATE (
[Total Employees],
FILTER ( Table, Table[Assignment] = "Assignment X" )
)
Hope this helps! :smileyhappy:
Sean
9 years agoCommunity Champion
Total Employees = DISTINCTCOUNT ( Table[Employee] )
Total Employees (on Assignment X) =
CALCULATE (
[Total Employees],
FILTER ( Table, Table[Assignment] = "Assignment X" )
)
Hope this helps! :smileyhappy:
Anonymous
9 years agoNot applicable
Yup, thanks!