Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Importing multiple excel files

Zaid
8 - Asteroid

Hi All,

 

I have found multiple threads with the issue but somehow i am unable to implement it correctly at my end. I would be glad if somebody could elaborate the steps.

 

The main objective is to import multiple excel files having one sheet in each of them. The column headers and the number of columns is identical in all the files. I want to bring data from all the excel files in one excel file. For example, lets say that I have data for for all months in different excel files. Now, i want them to combine all of them and bring them in one excel file.

 

Can you please elaborate, how this can be achieved using dynamic input and directory or some other tools.

 

Thanks

Zaid

14 REPLIES 14
hellyars
13 - Pulsar

@DanM 

 

I have a directory tool connected to the Macro.  The Macro sample file is pointed to the excel file.  Table Query is set to the table name.  Option 5 is set to Full Path.  The Action Tool is set to the File Value.  I get no errors when I run the sample file in the macro.  But, I get no sheet specified when I try to run the macro in the workflow. 

 

Thanks

hellyars
13 - Pulsar

@DanM  I have it partially working.  But now I have a new problem.  The output of the macro is assigning the sample filename across all filenames. 

thepontiacbandit
5 - Atom

hi @LordNeilLord

 

the last link for batch macro is not working ! please check once.

goutdelete
8 - Asteroid

Hi @LordNeilLord ,

 

I love how easy the first option of the wild card method is and I seem to successfully import the data into Alteryx; however each of my file name has a date and I kinda need that date to distinguish the data records.  May I ask how do I achieve that?

 

Thanks!!

SylwiaDragon
8 - Asteroid

@DanM I can't thank you enough.

This is what I needed.

Labels