Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Need random sampling of data from a set of data

shankar12
8 - 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.

2 REPLIES 2
MarqueeCrew
20 - Arcturus
20 - Arcturus
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 restart. Order shall return.
Please Subscribe to my youTube channel.
shankar12
8 - Asteroid

Thanks a lot it helped

Labels