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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
SHILL
Frequent Visitor

Cover by Day

Hi All, I have the below table that lists colleagues on annual leave and which colleague is covering that person  and I am trying to get to different outcome from this table but cant make it work 


This is the table I have:

Colleague First Day of holsLast day of holsWhos Covering
Colleague 122/0826/08John
Colleague 215/0826/08Paul
Colleague 324/0803/09Julie




First outcome I need is -
A list by day, of which colleagues are on annual leave - Such as the below; 

MondayTuesWed
Colleague 1Colleague 1  
Colleague 2Colleague 2Colleague 2
  Colleague 3



The second outcome I am trying to get is how many covers a person is doing each day - Such as below:

Colleague CoveringMonTueWed
JOHN11 
PAUL111
JULIE001

 

Thanks in advance for any help

3 REPLIES 3
v-xiaotang
Community Support
Community Support

Hi @SHILL 

Thanks for reaching out to us.

You need to first create a table of employees' relationships with working days, and then calculate count

 

 

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

@SHILL , check if the measure way discussed in this blog can help

https://community.powerbi.com/t5/Community-Blog/How-to-divide-distribute-values-between-start-date-o...

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Thanks Amit however I cannot seem to make it work with that measure 

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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

Top Solution Authors
Top Kudoed Authors