Forum Discussion
Anonymous
4 years agoNot applicable
Distinct Count - Active Headcount
Hello Community, I am using below measure for active headcount for the month , which is working fine Current Employees = CALCULATE(COUNTx(FILTER(Employee,Employee[Start Date]<=max('Date'[Dat...
- 4 years ago
Anonymous , Try like
Current Employees = CALCULATE(DISTINCTCOUNT(Employee[Employee Id ]) , (FILTER(Employee,Employee[Start Date]<=max('Date'[Date]) && (ISBLANK(Employee[End Date]) || Employee[End Date]>max('Date'[Date])))),CROSSFILTER(Employee[Start Date],'Date'[Date],None))
amitchandak
4 years agoSuper User
Anonymous , Try like
Current Employees = CALCULATE(DISTINCTCOUNT(Employee[Employee Id ]) , (FILTER(Employee,Employee[Start Date]<=max('Date'[Date]) && (ISBLANK(Employee[End Date]) || Employee[End Date]>max('Date'[Date])))),CROSSFILTER(Employee[Start Date],'Date'[Date],None))