Forum Discussion
bperry1
6 years agoNew Member
Calculated Column of Row Count Using Date Comparisons
I have a table of service requests, each with an open and close date. I also have a date table with measures that count opened and closed on each day. Now i'd like a measure or a calculated column to...
- 6 years ago
bperry1 , See if this can help
amitchandak
Super User
6 years agobperry1 , See if this can help
bperry1
6 years agoNew Member
That's exactly what I needed and couldn't find. Some form of this:
Current Employees = CALCULATE(COUNTx(FILTER(Employee,Employee[Start Date]<=max('Date'[Date]) && (ISBLANK(Employee[End Date]) || Employee[End Date]>max('Date'[Date]))),(Employee[Employee Id ])),CROSSFILTER(Employee[Start Date],'Date'[Date],None))
Thank you very much for your help!