Forum Discussion
Replace from date to empty
- 5 years ago
tebtim19 , In DAX a new column
T date = if([termination date] = date(5555,12,31), blank(), [termination date])
and use
or use this formula with my blog
Current Employees = CALCULATE(COUNTx(FILTER(Employee,Employee[Start Date]<=max('Date'[Date]) && (Employee[End Date] = (5555,12,31) || Employee[End Date]>max('Date'[Date]))),(Employee[Employee Id ])),CROSSFILTER(Employee[Start Date],'Date'[Date],None))
tebtim19 , In DAX a new column
T date = if([termination date] = date(5555,12,31), blank(), [termination date])
and use
or use this formula with my blog
Current Employees = CALCULATE(COUNTx(FILTER(Employee,Employee[Start Date]<=max('Date'[Date]) && (Employee[End Date] = (5555,12,31) || Employee[End Date]>max('Date'[Date]))),(Employee[Employee Id ])),CROSSFILTER(Employee[Start Date],'Date'[Date],None))