Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Random Sampling by group

mapp2
5 - Atom

Hi all,

 

I have a large data file that I have read in which contains over 50 periods. I would like to randomly select 10 records from each period. How is this possible?

 

Thanks in advance.

2 REPLIES 2
patrick_digan
17 - Castor
17 - Castor

@mapp2 I would use the Rand function, sort on your period and rand, and then sample the 10 records:

 

Capture.PNG

 

See the attached v11.0 workflow

mapp2
5 - Atom

Thanks!

Labels