community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
SOLVED

Need random sampling of data from a set of data

Asteroid

Hi ,

 

Need to take random sample data from the below list of data.
every time sample count may differs

Ex: below we have a data of 10 person details in that randomly 3 person details should be picked.

 

Employee NoEmplyeee Name
1Dave
2Leo
3kathy
4portman
5manda
6april
7shane
8nexa
9miranda
10nathan

 

results

Employee NoEmplyeee Name
10nathan
5manda
2Leo

there should be an option of changing the sample from 3 to 5 or may 1 sample out of 10.

 

Thanks.

Alteryx Certified Partner
Alteryx Certified Partner
Have you tried using the random sample tool?

https://help.alteryx.com/2018.1/index.htm#Macro-RandomRecords.htm?Highlight=Random

Cheers,

Mark
Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and reboot. Order shall return.
Highlighted
Asteroid

Thanks a lot it helped

Labels