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.
SOLVED

Adding Identifier from field when loading multiple excel files

SB555
6 - Meteoroid

Dear Community, 

 

I have the following problem/challenge.

I have multiple excel files with the exact same structure (see sample attached): A header area with one field containing a Customer Number, and a range below with the table including the data that I want to use in the workflow.

My goal would be to add the customer number to each record created from the range in order to identify the entries in the overall databased later on.

 

I was able to get it to work with only one file by using 2 inputs for the same file, separating the information and using append fields. Unfortunately this does not work when loading multiple files for different customers.

 

Thank you in advance for any ideas on how to achieve this.

 

SchemeScheme

 

 

12 REPLIES 12
binu_acs
21 - Polaris

@SB555 can you screen shot your macro settings, right click and choose open macro

image.png

SB555
6 - Meteoroid

Found it.

 

MacroSettings.PNG

 

MacroSettings_2.PNG

SB555
6 - Meteoroid

good News, I just saved the macro, re-run everything and now it looks like this

 

MacroSettings_3.PNG

 

And the result is exactly as I wanted it to be :-)

Result_3Files_Final.PNG

 

Brilliant solution, Thank you so much!

Labels
Top Solution Authors