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

Alteryx Designer Desktop Discussions

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

Taking File Name and Appending it to the Data when importing with the directory tool

Link86
8 - Asteroid

Hi,

I have a directory of names that goes from 1880-2021. Each file in the directory is one year. However, that year is not contained in the file as data and is only the file name. I would like to import the files and append the file name to each of the rows that it belongs to. I have attached the packaged workflow and if the directory tool cannot provide the files you can obtain them here: https://www.ssa.gov/oact/babynames/limits.html and click on the National Data link to download the files.

 

Any help here would be great.

3 REPLIES 3
IraWatt
17 - Castor
17 - Castor

Hey @Link86,

The dynamic input tool has a configuration setting to import file name as a column of data here:

IraWatt_0-1659962442550.png

Does this solve your issue?

 

Link86
8 - Asteroid

@IraWatt Thank you. I can't believe I missed that.

IraWatt
17 - Castor
17 - Castor

haha now worries @Link86 happens to us all 😄

Labels
Top Solution Authors