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.

Macro for zip files with different file names

ck2024
9 - Comet

Hi

 

Is there an easy way of processing files with the same schema but with different zip files?  I can create a macro when the file name is the same, but the file name changes depending upon when it is created which causes me problems.

 

It's csv files for completeness.

 

Thanks

 

2 REPLIES 2
Prometheus
12 - Quasar

@ck2024 Have you tried using the wildcard character *? So for File_1.csv, File_2.csv, and File_3.csv, you can put File_*.csv into an Input Data or Dynamic Input tool and it'll bring every CSV file that starts with "File_" in and open it, just as long as the schema matches.

ck2024
9 - Comet

Hi @Prometheus - that is a very good suggestion and one that I hadn't even thought of - I think you're right that it'll work easily enough, just hadn't considered doing it from within a zip file - will report back either way. Thank you

Labels
Top Solution Authors