This is what I tried last. (The “Start Waypoint” column is the “lat,long” I’m referring to. The multiplication at the end is to get the distance in feet.)
[_THISROW_BEFORE] gets a value within a single row and not across different rows.
What you need is to get a value from a different row using a SELECT or LOOKUP by identifying the “previous” row.
How you identify your “previous” row depends on how you have created and use your app. If this is a multi-user app, then it becomes tricky. If the rows are entered in an orderly manner then [_RowNumber] can be used.
Hopefully you can see what I was trying to do. To reiterate. I want to get the distance from one row to the previous row (both in the “waypoint” column.
I struggle with those two functions, though I’ve seen great examples of what they can do here on the forum. If you are up for helping me construct my expression with one of those, it would be a tremendous help.