Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi everyone,
<Message deleted>
Thank you for all the help!
This can use this for day level leave. You can use day level holiday to do rest of the calculation
CALCULATE(countx(SUMMARIZE(filter(CROSSJOIN('Table','DimDate'),'DimDate'[Date] >= 'Table'[AbsenceStartDate] && 'DimDate'[Date]<= 'Table'[AbsenceEndDate]),'Table'[id],'DimDate'[Date]),'DimDate'[Date]))
User | Count |
---|---|
140 | |
113 | |
104 | |
77 | |
65 |
User | Count |
---|---|
136 | |
118 | |
101 | |
71 | |
61 |