I’m searching for a solution to randomly draw rows from a table that has duplicate entries. The important part here is that the end result needs to be a list with unique entries.
It is comparable to a prize draw situation where you have following situation
Anna
Jack
Jack
Timo
5.Joseph
Lana
Lana
These “participants” are in the pot - I want to draw 3 “winner” but each participant can only win one price max. I still want to have the ones with more entries to have a higher chance to be drawn so I can’t just eliminate them with the duplicate row filter.
Does anyone have a solution for this?
I would use simpler approach.
Use Random number assigner with min = 1 and max = number of participants
Sort result by random number assigned.
Use Group by to get rid of duplicates
Filter top 3.