Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

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? 





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)


Helpful resources

Exciting changes

Power BI Community Changes

Check out the changes to the Power BI Community announced at Build.

May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Kudo Data Story carousel

Data Stories Gallery

Visit our Data Stories Gallery and give kudos to your favorite Data Stories.

Top Solution Authors
Top Kudoed Authors