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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Need help with calculating duration between rows

Hello there, 

 

I have a big dilemma I need to resolve and hope you can help me. 

 

I have raw data that contain a list of tickets handled by L2, and L1 support (sometimes L2s are considered L1s as well and vice versa) I also have a "date of action" that registers when the ticket left the queue of a certain user (we can omit the hour). It's important to point out that one ticket may appear multiple times in a person's queue (because was reopened due to incomplete tasks). My question is how can I calculate the duration of the ticket by Receiver_ID, and by Support Levels from when the date landed in the receiver's queue by the assistant_ID until it left his or her queue? 

 

Jack_Reacher_0-1680285368553.png

 

 

For example, in the below case, I want to calculate the duration it took Herbert Swine to send the ticket back to Steve Colbert (Date of actions between rows 23784, and 9052)

0 REPLIES 0

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.