The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 display the backlog based on opened date prior and close date later or null. It seems simple and I've tried a few methods but the DAX is just not coming to me.
Solved! Go to Solution.
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!
User | Count |
---|---|
27 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
7 | |
6 |