Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Passing information through a Dynamic Input tool?

zachwalz
7 - Meteor

Hi all--

 

I have a bunch of sales files with different information in the filename... let's use store number as an example. I can parse the filename to get said store numbers, but I want to be able append the store number to the sales data. When I use a Dynamic Input after using a Directory tool, the filenames don't pass through. I then have no way of identifying which line of data came from which file, so I can't add store number to the individual lines of data.

 

Does anyone know if there's a way to pass the filename or other downstream information through a Dynamic Input tool?

 

Thanks!

-Zach

5 REPLIES 5
TylerN
7 - Meteor

Hi zachwalz,

 

Take a look at the great solution that @CameronS came up with. From the outputed data you can then pull out the information from the filename that you're wanting.

jack_morgan
9 - Comet

Hey Zack, there is a setting in the dynamic input to output the file name or file path, i gave it a shot and gives me what i need. Have you tried that?

Jack

Tool Screenshot.png

chris_love
12 - Quasar
Hi Zach

There is an option when you set up the "template" for the dynamic input
(and for a normal input for that matter) which says "Use Filename as
Field". This option will put your filename onto your data amf you can then
parse out your store nimber from there.

Good luck
Chris
zachwalz
7 - Meteor

Ah I was missing it in the template portion. I was looking the actual tool configuration. Thanks so much!

afmendeza
5 - Atom

Hi everyone,

What if I have a text tool (Or any other) before the dynamic input, with more than the sheet name field, and I want it after de dynamic input, to be a part of the data?


@jack_morgan wrote:

Hey Zack, there is a setting in the dynamic input to output the file name or file path, i gave it a shot and gives me what i need. Have you tried that?

Jack

Tool Screenshot.png


 

Labels