We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Append all files from folder

Pkathuria12
5 - Atom

I have trying to read and append all macro enabled Excel files in a folder. I am not able to do so because of an error due to difference in file schema (most likely due to different data type). I want to resolve this issue and read all files, even if they have different schema. How should I go about it ?

3 REPLIES 3
alexnajm
18 - Pollux
18 - Pollux
Inactive User
Not applicable

I may not have the full picture, but what i would try is to:
1. Connect a directory tool to get the all the absolute paths of all files

2. create a batch macro that connects to one of them. The control parameter will update the absolute path for each itteration. It might be smart to enable "output file name" on the input tool that you update with the control parameter.

3. Make sure that in the interface designer you pick are as following:

 

 

abacon
12 - Quasar

Used this macro many times, super helpful to have. I have a template version saved on my desktop to easily use at any time.

Labels
Top Solution Authors