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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.