Forum Discussion
Trend Filter Help
- 5 years ago
Anonymous , Try with Min on start date
Current Employees = CALCULATE(COUNTx(FILTER(Employee,Employee[Start Date]<=Min('Date'[Date]) && (ISBLANK(Employee[End Date]) || Employee[End Date]>max('Date'[Date]))),(Employee[Employee Id ])),CROSSFILTER(Employee[Start Date],'Date'[Date],None))
if need do same for max. Also check for <= or >=
Anonymous , Try with Min on start date
Current Employees = CALCULATE(COUNTx(FILTER(Employee,Employee[Start Date]<=Min('Date'[Date]) && (ISBLANK(Employee[End Date]) || Employee[End Date]>max('Date'[Date]))),(Employee[Employee Id ])),CROSSFILTER(Employee[Start Date],'Date'[Date],None))
if need do same for max. Also check for <= or >=
- Anonymous5 years agoNot applicable
Exactly what I was looking for! Thanks so much, amitchandak !
- Anonymous5 years agoNot applicable
Hi @amitchandak,
Thanks again for all your help! When applying this to real life, for some reason the visual is inaccurate, not considering tickets created this month (or in this case, employees onboarded this month). Can you help me see where it went wrong?