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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors