Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi,
The calculation for Absenteeism Rate based on the following url https://www.aihr.com/blog/absenteeism-rate/
is
I had a look at HR Analytics example which has a section on Absenteesim
but not sure of the tables required?
Does anyone know what I would need to include?
Some of our Employees are on different shift patterns
i.e. Employee A could work Monday to Friday 9:00 to 17:30 (37.5 hours a week (with an hour lunch break))
Employee B could be part time and only work Monday to Wednesday 9:00 to 17:30 (22.5 hours a week (with an hour lunch break))
Do I need a table something like this (purposely didn't do the full month of March but the table would have those dates)
Or can I do something clever in DAX to know the number of available workdays in a given period and should I just roll up the above table for the whole month telling me how many hours they were off sick for?
Any ideas would be much appreciated
Thanks
Thanks
Solved! Go to Solution.
@AvPowerBI , Work days measure
Work Day = COUNTROWS(FILTER(ADDCOLUMNS(CALENDAR(Min(Table[Start Date]),Max(Table[End Date])),"WorkDay", if(WEEKDAY([Date],2) <6,1,0)),[WorkDay] =1))
You can use min max selected dates in place of start and end
How to calculate Business Days/ Workdays, with or without date table: https://youtu.be/Qv4wT8_P-AA
@AvPowerBI , Work days measure
Work Day = COUNTROWS(FILTER(ADDCOLUMNS(CALENDAR(Min(Table[Start Date]),Max(Table[End Date])),"WorkDay", if(WEEKDAY([Date],2) <6,1,0)),[WorkDay] =1))
You can use min max selected dates in place of start and end
How to calculate Business Days/ Workdays, with or without date table: https://youtu.be/Qv4wT8_P-AA
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
92 | |
86 | |
85 | |
66 | |
49 |
User | Count |
---|---|
140 | |
113 | |
104 | |
64 | |
60 |