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.

Using variables from input data

dpan
6 - Meteoroid

Beginner here. Is it possible to input data from an excel sheet, ie number of rows to filter, and use that to extract data from a dataset? 

 

settings xls sheet

total rowsfirst sectionsecond sectionthird section
5051530

 

dataset (abbreviated)

idpriority
12345a1
12345b1
12345c2
12345d2
12345e3
12345f3

 

Input the data from settings xls sheet, and filter my dataset as such:

 

Priority = 1    first N rows (where N = 5)

Priority = 2    first N rows (where N = 15)

Priority = 3    first N rows (where N = 30)

2 REPLIES 2
Robin_McIntosh
11 - Bolide

@dpan Not sure if there is a specific tool for Dynamic Sample, however, I think this gets to the result you are expecting.  You would then update the "Priority N Samples" file to indicate new prioritiy #'s and respective sample sizes.  Let me know.

 

Robin_McIntosh_1-1660855769867.png

 

 

dpan
6 - Meteoroid

Coming from Java programming, Alteryx conceptually is such a different programming tool. Your solution is beautiful, and I am beginning to see the different approach to data manipulation this tool requires. Thank you for the insight!

Labels
Top Solution Authors