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
ilosada
Frequent Visitor

Creating queue time by date

I have several machine operations with columns in a live data model
Operation Number, Machine, Start date, End date, Operation duration.
I want to check how much work I have in queue time at a single machine for last 90 days.
Only operations which are yet to be started on a given date contribute to queue time. So for a selected date from a 90 day period.if selected date is less than start date or if start date is blank then return machine and operation duration. Then sum machine duration on a single day and build a line graph with last 90 days on x axis, queue time( total operation duration) on y axis, legend is different machines.
This needs to be run consecutively for every date for past 90 days in a live data model.

3 REPLIES 3
dufoq3
Super User
Super User

Hi @ilosada, provide sample data as table (so we can copy paste) and expected result based on sample data.


Note: Check this link to learn how to use my query.
Check this link if you don't know how to provide sample data.

 
question.jpg

I want to create this visual

ilosada
Frequent Visitor

power query or dax anything is ok

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.