Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Batch Macro Use Case

Skapoor1
7 - Meteor

Hi Everyone 

 

i have a use case where I intend to input multiple csv files using *csv in the input tool. The issue i am facing is files have different formats by one or more columns. The number of files is a lot. I intend to create a batch macro so as to process each file individually and union the output because in the output all the fields would be same. When i use the *csv in simple input tool a few files are skipped from the rest of the workflow. I would really appreciate some help.

 

Sameer

1 REPLY 1
AngelosPachis
16 - Nebula

Hi @Skapoor1 ,

 

There are a number of posts in the community that talk you through how to create that batch macro to read multiple files with a different schema.

 

Here are a couple good examples:

 

https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/CS-Macro-Dev-Reading-in-Multiple-Fi...

 

https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Read-in-Multiple-Excel-Files-with-M...

 

Hope that helps,

 

Angelos

Labels
Top Solution Authors