In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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

Import multiple csv files (different data) and distribute to different workflows

harshpatel
5 - Atom

Hi everyone!

I'm trying to import multiple csv files with completely different data and structure. I want to feed these imported files to different workflows depending on their names. Then, I want to then delete a few columns and rows in each files and then output an xlsx for corresponding csv.

 

I have a basic workflow which works for one file at once.

harshpatel_0-1654740587406.png

 

 

Can anyone help me make it accept multiple inputs and distribute files to multiple workflows just like the one above^?

3 REPLIES 3
gabrielvilella
14 - Magnetar

Probably the best way is to create a batch macro to do that process for all the files. 

grazitti_sapna
17 - Castor

Hi @harshpatel, here is a sample batch macro workflow that will help you to fetch multiple files with the different data structures, and then you can apply the transformations as required. Please refer to the screenshot below.

grazitti_sapna_0-1654748387418.png

After this, I applied a filter on the filename and used the select tool to select the required columns.

 

I hope this helps!

 

Thanks!

 




Sapna Gupta
Kurohits
10 - Fireball

Hi @harshpatel 

 

I have created this workflow utlity which reads multiple files with different data schemas. It is very flexible and dynamic in terms of data structure and number of files. This will definetely help you to import multiple files having different structures. 

 

Kurohits_0-1654767688606.png

Labels
Top Solution Authors