cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jomnr
Regular Visitor

Managing absences per week and per teams

Hi everyone,

I'm trying to show the numbers of days of vacation taken by the employees per week and per team. I have tried this potential solution but although it works fine for vacations per employee and per week,  it does not add up days for teams : https://community.powerbi.com/t5/Desktop/Managing-absences-per-month/m-p/3144462#M1062939  (Thanks @Ahmedx ).

Here are a few samples of my data (the two tables have a relation through the EmployeeID) :

Table for the time off of each employee :

EmployeeIDStartDateEndDate
12023-03-242023-03-24
12023-04-032023-04-07
22023-04-032023-04-14
22023-05-102023-05-12
22023-08-082023-08-10
32023-08-072023-08-11
42023-06-122023-06-12
42023-08-082023-08-08
42023-09-112023-09-13
52023-08-092023-08-18

Table for the teams :

EmployeeIDTeam
1Team 1
2Team 1
3Team 2
4Team 2
5Team 2

 

Thanks you very much for you help !!

Joe.

1 ACCEPTED SOLUTION
1 REPLY 1
amitchandak
Super User
Super User

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors