Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

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