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

Dynamic input - how to add column with source sheet

petr__
7 - Meteor

Hello everyone,

 

I have excel file with 5 sheets, and I successfully used dynamic input for all sheets and got data, but I need to add column source sheet, which will contain data from which sheet is current record (i.e. sheet1, sheet2..)
I tried to set up via Action but I got errors and documentation is very brief for this options (missing examples etc..) any idea how should I did it?

 

thank you

3 REPLIES 3
DavidP
17 - Castor
17 - Castor

Hi @petr__ 

 

When you set up the template file for the dynamic input tool, you can set the option to include fullpath as a field - this will also include the sheetname. You can then remove the filename and filepath. I'll mock up an example for you shortly.

DavidP
17 - Castor
17 - Castor

Here's one I made earlier. The [Filename] field is the one you want.

 

DavidP_0-1606923247005.png

 

petr__
7 - Meteor

Thanks you @DavidP  it works 🙂

Labels