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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Qotsa
Helper V
Helper V

Data in difficult format

Hi,

 

Has anybody any experience in working with data in a similar format?

 

The data shows an employees (carerid) availability in minutes.

 

If we look at the first 1st record - 

 

carerid = 30199 is available Mon, Tues, Wed (Column 'day', values 123) for 1440 minutes (Column 'length', value 1440) starting 22/07/2019 and ending 09/10/2022. (Column 'week', value 2) means this availability recurs every second week)

 

What I am trying to achieve is from a Calendar table filter, select any date range that will give each employees availability minutes (Column length).

 

Any advice appreciated.

 

Availability.png

 

 

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi, @Qotsa 

Can you give an example to further explain your needs?

Best Regards,
Community Support Team _ Eason

@v-easonf-msft 

I would like to generate a list of dates in Power Query.

If for e.g a record has a start date of 22/07/2019 and the week col is 2, the next date for this record should be 05/08/2019 then 19/08/2019 and so on until the enddate is reached. Each date should be 14 days from the previous date (if week value = 2).

 

If week value = 0 then there is no recurring date. If it is 3 then each record should add a new date 21 days from the start date and so on again until the enddate is reached. 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors