Sum of delta altitude in a report

Alema year ago

Maybe it is an ignorant question, I risk anyway:
Is there a way to represent the sum of all positive delta altitudes in a report, as follows?

Difference between current altitude and previous altitude:
d(a) = a(n) - a(n-1)

If d(a) >0 then sum, otherwise ignore.

At the end of a report there is a value showing the sum of d(a) for each trip or report or activity window.

Thanks

Anton Tananaeva year ago

It might be possible to do using the Excel template, but it will be pretty advanced scripting.