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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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.

Super User
Super User

Helpful resources

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

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