I am new to PowerBI. I am looking to calculate the monthly holidays by staff member using DAX. I am
able to calculate it if all entries (Start Date & End Date) are confined to a unique month. The issue is where a person's holidays go across several months
I have 2 tables
Table 1 - Holidays
Name StartDate
EndDate
Joe Bloggs 27July 2015 7th
Aug 2015
Jenny Jones 22nd July 2015
23rd July 2015
Jenny Jones 27th July 2015 28th
July 2015
Table 2 -Months&Years
Month/Year
June 2015
July 2015
August 2015
September 2015
I am looking for two types of Output (high level and detailed)
Detailed
Month/Year Name Total
Days OOO
July 2015 Joe Bloggs
5
July 2015 Jenny Jones 4
August 2015 Joe Bloggs
5
High level
Month/Year Days OOO
June 2015 0
July 2015 9
August 2015 5
Any help would be appreciated.
Thanks
Matt