Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Batch Input with all different table names

ultrarunner
8 - Asteroid

Hi there,

 

I have multiple Excel files with all different sheet names (or Table names) and try to combine them using Batch Input data: https://community.alteryx.com/t5/forums/postpage/board-id/designer-discussions

 

My file names are like:

USA file/ USA table, Europe file/Europe table, Asia file/ Asia table

 
 
 
 
 

 

ultrarunner_1-1609195633098.png

 

Is there anyway to update "3 Table or Query" name so I could combine all different tables?

 

I may need to replace the original name ('USA') with something very generic, but not sure what to do next:

 

ultrarunner_3-1609196239855.png

 

 

ultrarunner_2-1609195776075.png

 

Any help will be appreciated.

 

Thank you,

 

 

 

2 REPLIES 2

Hi @ultrarunner 

 

Would you please try the attached and let me know?

 

It's a macro inside another macro. The first one will basically import the list of sheets and with a formula, you will be able to feed it with your sheets' names and then the second macro will loop thru the different sheets and pull data.

 

christine_assaad_0-1609199846222.pngchristine_assaad_1-1609199871945.pngchristine_assaad_2-1609199934431.png

 

pedrodrfaria
13 - Pulsar

Hi @ultrarunner 

 

I have attached below the workflow.

 

This is a batch macro that open every file in the workflow (the macro can be updated to run other type of files, this one is specific to xlsx, let me know if you are working with a different file).

 

1. You can see 3 different XLSX files I'm trying to read. They do not have the same data format. (They are attached to this so you can see)

pedrodrfaria_3-1609201441755.png

 

2. Load the files

pedrodrfaria_0-1609201403521.png

3. You can see that 3 iterations were ran.

pedrodrfaria_1-1609201419181.png

 

4. On the right hand side you can see that we were able to load all the files together

pedrodrfaria_2-1609201434942.png

 

If this was a solution for your question. Please update the post to be closed with an answer.

 

Pedro.

 

Labels