title: Power BI diff time between stages
body: <p>I have a poblem with proper calculate time between stages. I give you a sample of data.
  I have in this case three different orders (first column). I want to calculate proper time between stages (index1). For example index1 = 5 substract index1 = 4 but for the same order. Supporting column indicate the same order. How to solve this?</p>
  <p>I wanted use smth with filter &quot;EARLIER&quot;
  FILTER(Orders,Orders[Supporting Column]=EARLIER(Orders[Supporting Column])</p>
  <p><a href="https://docs.google.com/spreadsheets/d/1pQgKRB5pcG97Wx6PP_bIBzwGmbv2mZ4YWuFClQG40sU/edit?usp=sharing" rel="nofollow noreferrer">https://docs.google.com/spreadsheets/d/1pQgKRB5pcG97Wx6PP_bIBzwGmbv2mZ4YWuFClQG40sU/edit?usp=sharing</a></p>
  <p><img src="https://i.stack.imgur.com/OG1QP.png" alt="enter image description here" /></p>