community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Upgrade Alteryx Designer in 10 Steps

Debating whether or not to upgrade to the latest version of Alteryx Designer?

LEARN MORE

How does the Simulation Sampling Tool "selection of fields to sample" work?

Meteor

Hello everyone,

 

say I have  the following data set:

 

ID    X     Y      Z

1    0.5    2    100

2    0.4    3    800

3    0.9    5    560

 

and I would like to sample with a Montecarlo Sampling the data from column X. Say I run such a sampling with the Simulation Sampling Tool with kind of data "raw data", select column X as "select feeds to sample" and select "sample entire rows" as sampling strategy (see screenshot).

 

So I get say "0.5" selected. I would like then to extract the complete row with all its columns. How would I proceed? (e.g. joining back with the original data set on column X is a bad option, since the data set would have more rows with value "0.5" that I don't necessarily want to select). Would it help if I choose e.g. ID also as "fields to sample"?

 

I appreciate any feedback!

Best

Felipe

Moderator
Moderator

Hi @ftorres,

 

Would you be able to share your workflow so far please?

 

Kind regards,

 

Paul Noirel

Sr Customer Support Engineer, Alteryx

 

Meteor

Hi @PaulN

 

thank you for taking the question!

 

Attached you find the workflow (which at the moment ends with and error "exit code (1)" for the R-Tool).

 

Best

Felipe

Labels