Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
omkarsawant30
Frequent Visitor

How to split the count of Leave days per calendar month if i have a From Date and To Date?

I have a employee leave data table. It has one row for each leave applied by the employees.

So we have columns - Employee Name, From Date, To Date, No. of Days of leave Taken.

 

How to calculate - Number of days of leave taken per calendar month?

Example: If Leave From Date - 29th Nov and Leave To Date - 4th Dec. Then i need to know how many days of this leave belongs to November and December separately.

 

My expected output is to show a bar chart with Months on X axis and Leave days on Y Axis.

1 REPLY 1
Ahmedx
Super User
Super User

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.