Power Query, return Time Range from Time

joand

Active Member
Joined
Sep 18, 2003
Messages
267
I am fairly new with Power Query. I have a two tables: one named DataExport which contain the column [Time] and another table named Time Range which contain 3 columns: [Time Start], [Time End] and [Time Interval]. Time Interval is merely a combined reference to Time Start and Time End columns, like "6:00:00 AM-6:15:00 AM". I want to retrieve this Time Interval column to the DataExport table. My goal is to create a time range summary where I can see the the total number of orders in 15-minute intervals starting from 6:00:00 AM. I cannot merge these directly because the Time Range table only contains the Time start and Time end. For example, if the time is 6:01 AM then it belongs to the group 6:00 AM-6:15 AM and so on. Any ideas?
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Any ideas?
- unpivot Time Start and Time End columns, values must be in column named Time
- combine this with DataExport table, sort by Time and fill down Time Interval column
- remove (filter out) rows from Time Range table.
 
Upvote 0

Forum statistics

Threads
1,224,814
Messages
6,181,121
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top