Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Trend Filter Help

Hi All!   I am struggling to create a visual that helps calculate how many ID's and the cost I had over the last year, considering the open and closed date. Through the HR Analytics - Active Employ...
  • amitchandak's avatar
    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 >=