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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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

Top Solution Authors
Top Kudoed Authors