Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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.
User | Count |
---|---|
98 | |
76 | |
69 | |
53 | |
27 |