Forum Discussion
EwelinaST
4 years agoRegular Visitor
Calculating Weekly Leave Hours
Hi, I am new to Power BI and I am struggling to calculate the leave hours per week.
I need to summarize the 'Leave Request' table so it shows hours weekly (by Week Ending Date).
The above example shows the staff member who requested holidays between 23/12-17/01 (the table already excludes weekends and bank holidays).
I need to achieve something similar like below but with the right numbers. I know that in this instance I would need to divide weekly hours by 14, however I cannot achieve that using DAX. I would appreciate any help with that. Many thanks.
1 Reply
- lbendlinSuper User
Please provide sanitized sample data that fully covers your issue. Paste the data into a table in your post or use one of the file services. Please show the expected outcome.