Announcement | We'll be doing maintenance between 2-3 hours, which may impact your experience. Thanks for your patience as we work on improving the community!
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Control Random % Sample via Analytics App Interface

Cela
アステロイド

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件の返信3
alexnajm
19 - Altair
19 - Altair

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

CoG
マグネター

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
アステロイド

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

ラベル
トップのソリューション投稿者