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
16 - Nebula
16 - Nebula

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

AndrewDMerrill
13 - Pulsar

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