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

View all the Fabric Data Days sessions on demand. View schedule

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors