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

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

Reply
BLB
Helper I
Helper I

How to create time allocation from dataset with from- and to- timestamp

Hi, 

I have production data summarized in the below format.

Product Code/Location/Quantity and Production Start and End timestamps:

 

BLB_1-1660660277522.png

I have a separate Calendar table which has all the Calendar Dates and Hours.

 

How can I turn the data table efficiently into a format where the quantities are evenly allocated between the start_time and end_times, so that I can visualise them on an hourly chart?

 

Many thanks.

3 REPLIES 3
lbendlin
Super User
Super User

needs more details. Do you need this by hour?  Are there any hours that need to be excluded? Weekends? holidays?

Hi, as in the original post, I have a separate Calendar table which has all the Calendar Dates and Hours.  My intention is to use that on the x-axis of the output graph.

 

Thanks

What about the exclusions?

Helpful resources

Announcements
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.