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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
delosdinh
Frequent Visitor

Absences Report

Hello

 

I'm am going to do some reports about emploee abscences. For example, absences per month, abscence rate per month and cost of absence per month.

 

My data set looks like this (*calculated using excel, converting to full time days):

Employee IDDepartmentEmployment TypeStatusEmployment Start DateEmployment End DateAbsent Start DateAbsent To DateAbsent QuantityAbsenet UnitAbsent in Days*ReasonContracted Hours/WeekRate
123BFull TimeTerminated1/02/20201/12/202130/05/20212/06/20214Days4Annual38$20
321CPart TimeActive6/05/2000 12/08/202112/08/20215Hours0.6579Sick20$19
456CCasualActive5/08/1992 29/11/20211/01/202233Days33Long Service0$30
888APart TimeTerminated20/2/200020/04/202231/03/20221/04/20228Hours1.053Sick16$40

 

As you can see, it's very diversed dataset. How would I be able to calcuate total absences per month when some absenses are spread between one or more months. Also, for the last example, they techniquely work 4 hours a day so the 8 hours leave is spread between 2 months here, 4 per month for the employee, unfortunately my dataset doesn't show contracted hours per day.

 

I might be overcomplicating this. But it's a very complex dataset. How would I caluclate all absentism from 1/06/2021 to 30/06/02022 per month, or even 12 months year end?

 

Thanks

2 REPLIES 2
v-xiaotang
Community Support
Community Support

Hi @delosdinh 

Thanks for reaching out to us.

I just want to confirm if you resolved this issue? If yes, you can accept the answer helpful as the solution or share you method and accept it as solution, thanks for your contribution to improve Power BI.

If you need more help, please let me know.

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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