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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Daniish
Frequent Visitor

How to extrapolate weekly data into daily data, taking account of absences

I receive a monthly export of data showing staff rotas and I want to highlight the % availability of Duty Officers on a Role in any particular week, by taking account of any planned absences of staff that are recorded as comments within the data.

 

I have been able to extract the comments about absences and record them in 2 additional columns giving the date range that this applies to. Now i need to extrapolate all this weekly data into daily data with a separate row for each Duty Officer on each day, with the absences included in the Value column as 'Unavailable'.

 

 

This is what the current weekly data looks like:..and this is how i need it to look with lots of extra rows:
Before.jpgAfter.jpg

 

Can anyone show me how to do this?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Daniish , Refer this file a new table is created with all dates between date. see if that can help

https://www.dropbox.com/s/97ff7141d5atppy/daysbetweendates.pbix?dl=0

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Daniish , Refer this file a new table is created with all dates between date. see if that can help

https://www.dropbox.com/s/97ff7141d5atppy/daysbetweendates.pbix?dl=0

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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