Hello,
for a statistical analysis I want to associate the 10 closest random points around my target points (cities) to the target points attribute table. I want to do this for multiple cities to afterwards get a mean distance of the city and its associated points to a target feature.

this is what I'd like the attribute table to look like. (excel just for visualisation). Has anyone made any experiences with this?