title: Subtract Next to the current and make that output as the data of that current row
body: <p>Computing Kilometer Run is based on this </p>
  
  <p><code>current value = next value - current value</code></p>
  
  <p>I have a table that looks like this.</p>
  
  <p><a href="https://i.stack.imgur.com/CvfX5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CvfX5.png" alt="enter image description here"></a></p>
  
  <p>My question is how can I compute the <code>kmr</code> based on the odometer value? I will replace the value of kmr column of kmr value</p>