Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
RÉSOLU

Control Random % Sample via Analytics App Interface

Cela
Astéroïde

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 RÉPONSES 3
alexnajm
18 - Pollux
18 - Pollux

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

CoG
Magnétar

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
Astéroïde

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

Étiquettes
Auteurs des meilleures solutions