In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Field Mapping Batch Macros

Shannon11113
7 - Meteor

Hi community!

 

I am trying to create a batch macro that will allow me to combine multiple excel files and sheets that have different schemas and might have different column names in the future. The output data should be stacked ontop of the previous sheet if the column are matching. I have research other posts however i seem to have issue as my first row contains data… this seems to make my macro more difficult. any help would be greatly appreciated 

3 REPLIES 3
RaphaelSilva
9 - Comet

You can load the excel inside the macro, check the header names and add it to an empty union tool, just to map the field names and keep the structure.
This union tool would hold all possible field names, and appended new fields for all new loaded files.

Shannon11113
7 - Meteor

sorry, i don’t quite understand what you mean

Raj
16 - Nebula

@Shannon11113 you can use this macro.
this will help.

Labels
Top Solution Authors