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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Start End Date to 15 min Time Intervals

Hi I have a table looking like this (coming from Outlook Calender Data):

StartTimeEndTimeRoom
22-01-2019 09:3022-01-2019 11:00Boardroom
23-01-2019 11:0023-01-2019 12:00Boardroom
28-01-2019 14:0028-01-2019 15:15Boardroom

 

I'm looking to change it through PowerQuery (M) into a table that looks like this:

Start15MinIntervalRoom
22-01-2019 09:30Boardroom
22-01-2019 09:45Boardroom
22-01-2019 10:00Boardroom
22-01-2019 10:15Boardroom
22-01-2019 10:30Boardroom
22-01-2019 10:45Boardroom
23-01-2019 11:00Boardroom
23-01-2019 11:15Boardroom
23-01-2019 11:30Boardroom
23-01-2019 11:45Boardroom
28-01-2019 14:00Boardroom
28-01-2019 14:15Boardroom
28-01-2019 14:30Boardroom
28-01-2019 14:45Boardroom
28-01-2019 15:00Boardroom

The new table therefore has the start time of the 15 minute intervals that, in this case, the "Boardroom" is occupied.

5 REPLIES 5
Anonymous
Not applicable

I have the exact same request as you. Were you able to accomplish this? Make my life so much easier @Anonymous 

Anonymous
Not applicable

Nope. Not yet.

Anonymous
Not applicable

@Anonymous This is how I did it for every minute:

 

In the Power Query editor add a custom column

 

 

- List.Times([Start Time], Duration.Minutes([End Time] - [Start Time])+1,#duration(0,0,1,0))

Then you expand it out hopfully that helps!

v-frfei-msft
Community Support
Community Support

Hi @Anonymous,

 

We can create a Calendar with time intervals  by DAX. There is a case about that, please refer to it for more details, Hope that helps.

 

https://community.powerbi.com/t5/Desktop/Calendar-with-time-intervals/m-p/475348

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

Hi Frank, thanks for taking the time. What you’re referring to I already have (although done in Powerquery). This question is actually about manipulating the data I pull from the Outlook Rooms Calendar. This’ll make me able to join the output from the calenders with such a “DateTime” table you are referring to. Next thing is that I can put the calendars in a Matrix. I’m not so happy with the current calendar visuals. By doing this I basically create the Room Calenders in a Martrix visual.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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