Alteryx Designer Desktop Discussions

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

Importing multiple excel files with multiple sheets of different schema using batch macros

Govind_Dileep_G
8 - Asteroid

Hi,

I have 20+ excel files having  5 sheets in each of them. They have different schemas too. the first sheet in every files are same, the second sheets in every files are same and as so on. I am trying to come up with a batch macro so i could pull all these files at once. i tried many ways but none of them gave the desired output. can anyone please share some knowledge on how to do this?

Thanks in advance

3 REPLIES 3
grossal
15 - Aurora
15 - Aurora

Hi @Govind_Dileep_G,

 

the easiest way that I know is to use the CReW Macro "Wildcard XLSX" Input. This Macro doesn't care about the schema. You will need to do some clean up afterwards, but you can easily import everything into Alteryx.

 

Example:

grossal_0-1627457160639.png

 

Tabelle 1:

grossal_1-1627457193601.png

 

Tabelle 2:

grossal_2-1627457213043.png

 

Workflow:

grossal_3-1627457249594.png

 

Results:

grossal_4-1627457268218.png

grossal_5-1627457279644.png

 

The CReW Macros can be downloaded here: http://www.chaosreignswithin.com/p/macros.html

 

I hope this helps.

 

Best

Alex

 

 

 

 

atcodedog05
22 - Nova
22 - Nova

Hi @grossal 

 

Does it handle both multiple files and multiple sheets at the same time ?

grossal
15 - Aurora
15 - Aurora

Hi @atcodedog05,

 

yes it does. As shown in the example, I load two files with 2 sheets at once 🙂

 

Best

Alex

Labels