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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.