And also, why is this the formula (first image below) that seems to work (with prev(Lat, Lon) specified twice), rather than just having it once, as the help page on formulas specifies? (second image below). Thanks!
Yes, that works because by saying prev(Latitude, Latitude) you’re saying, if there’s no previous value of Latitude, use the current value. And the current value minus the current value is zero.