There may be a macro or better solution, but a quick way is to use random numbers to create your own sampler.
I used the record count to get the total number of lines. I created a random number for each line and used a formula to assign the size of the sample I want based on the record count. Then I sorted by the random number and assigned a new record id after the sort. A filter tool removes any id that is greater than the number of records I want.
I used the alphabet as the example input in the workflow.
User | Count |
---|---|
107 | |
85 | |
76 | |
54 | |
40 |