I have a series of occurrence points that I am trying to downsample to 1/20 km to avoid sampling bias. So far, I have made a grid of ~20km squares and have filtered them down to squares with more than one occurrence point in them.
I want to figure out how to randomly select a single point within each grid square and delete the rest in the square. I tried joining the point vector and grid vector layers as was suggested in this post, but whenever I try to filter by longitude or ID, it selects every point in every square except one.
Does anyone know either what I'm doing wrong that's preventing me from selecting points randomly or a simpler method to doing this?

