The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Record limitation for multi file input

grossal
15 - Aurora
15 - Aurora

Hi everyone

 

I have some files with 10M+ records that I want to add to my workflow. I use the Input tool with *.xlsx to import all files with only one tool.

 

I know that the Input tool has an option to "Import only first N records", but this doesn't work across files. I want to import the first N rows of every file and not only the first N rows from the first file and none of the seconds and third file. What's the best way to achieve this?

 

 

Thanks in advance

Alex

2 REPLIES 2
RolandSchubert
16 - Nebula
16 - Nebula

Hi Alex,

 

to create a list of files, you can use a Directory tool, but as the Dynamic Input tool has no option to limit the number of rows to read from each files, you'll have to create a macro and hand over a list of files, the sheet name to load and the number of rows. I've attached a small sample - what do you think?

 

Best,

 

Roland

grossal
15 - Aurora
15 - Aurora

This looks great, thanks a lot @RolandSchubert !

Labels
Top Solution Authors