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

Automate multiple csv file input

kpurcell
6 - Meteoroid

Hello,

I have multiple csv files that that are received weekly that I would like to first create an Alteryx database and then contiue to add as files are received.   The column layout is always the same in the csv files.  Is there are way to automate this process?

The file names have a similar naming conventntion such as A000001234-YYYYMMDD.csv.

Any help would be greatly appreciated.

Kevin

3 REPLIES 3
CarlosA
Alteryx
Alteryx
You could read all .csv files using the (*), ie. *.csv. This option will read all .csv files in the directory, then output to the yxdb file. You could schedule the module (*only available if you license the Scheduler) for the following week to repeat the same process with existing and new files, this would then overwrite the existing yxdb file.
kpurcell
6 - Meteoroid
Thank you for the response.  If I chose a different output other than a yxdb file, would ite possible to use the same wildcard notation (*) and append a table rather than overwrite?

Kevin
AdamWatson
7 - Meteor

Anyway you can also get the file name the data was input from ?

Labels
Top Solution Authors