Start Free Trial

Alteryx Designer Desktop Discussions

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

Dynamic pick file for input and Process

aman_goyal
8 - Asteroid

Hi Team,
Suppose we have multiple files with different columns (structure) that are in sub-folders. I want that user select date from calendar and according to that date pick files from that folder and process.
Example:
We have folder structure like-
Input Files-30-09-2021- XYZ-policy.xlsx
Input Files-30-09-2021- XYZ-superstone.xlsx
Input Files-30-09-2021- PQR-furniture.xlsx
Input Files-31-12-2021- XYZ-policy.xlsx
Input Files-31-12-2021- XYZ-superstone.xlsx
Input Files-31-12-2021- PQR-furniture.xlsx

When I select date 30-09-2021 from calendar then it will pick the folder 'Input Files-30-09-2021' and then corresponding files will be taken as input.

aman_goyal_0-1637656226260.png

Suppose for  first input tool policy.xlsx file and for 2nd input tool  furniture.xlsx file should come.

 

I tried this way-

aman_goyal_1-1637656411252.png

This is working but for every file I have to add filter tool and dynamic input tool. Is there any other w



Can you please help me how I can implement this?




2 REPLIES 2
afv2688
16 - Nebula
16 - Nebula

Hello @aman_goyal ,

 

You can do that simply by using an action tool configured like this:

 

'C:\Users\SOMEPATH\*' + DateTimeFormat([#1], '%d-%m-%Y' ) + '*.xlsx'

 

Untitled.png

 

Try it out and let me know.

 

Regards

aman_goyal
8 - Asteroid

Thank You @afv2688 . It works for me.

Labels
Top Solution Authors