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
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

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.

Top Solution Authors