In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Control Random % Sample via Analytics App Interface

Cela
8 - Asteroid

Hi everyone,

 

I was wondering if there's a way to modify the configuration of the random % sample tool via the interface options of the analytics app. The idea in this case is that the user can set the item size such as "Random N Records" themselves.

 

Does anybody happen to know if this works?

 

Thanks in advance!

3 REPLIES 3
alexnajm
19 - Altair
19 - Altair

Like this? You can change the sample method as needed :)

CoG
14 - Magnetar

If you want the user to simply enter a number and use Random N Records, just choose that option in the Random % Sample tool and connect a Text Box Tool or Numeric Up Down Tool.

 

If you want the user to be able to choose between (Random N Records) and (Random N% of Records), and then let them put in the number, Just use a radio button that Updates the value [name='Percent'], use 2 text boxes to handle different logic, show each based off Radio Button Selection.

Cela
8 - Asteroid

Thanks to the both of you! I didn't think of using Numeric Up Down for this case 🙈

Labels
Top Solution Authors