Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEANot the most elegant solution, but I managed to get there. Great way to familiarize myself with some spatial tools!
The reason is that there are two owners for AnimalID A0922961.
When you split and calculated your points and rejoined, it created 2 more rows. You started with 18 rows and went to 20 rows.
I can not explain why both owners get both distances.
Tip: filter before joining for performance.
@Chau_Tran_Minh there's no need to split, calculate and re-join. By not limiting your fields and adding this step, you introduce the opportunity to "muddle" the data, in this case accidentally imputing the points for another "owner". Simply calculate each set of points and then the distance between.
My solution: