Alteryx Designer Desktop Discussions

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

Can someone help me help me create workflow to pick most recent file and top3 most recent

srk0609
8 - Asteroid

I want to pick up latest file and top 3 latest file from folder. I've 7 files in folder few starting with aaaaaa and few with aaabbb. How can I pick up file starting with aaabbb and most recent file and top 3 files from folder? In case there is a new file with name aaabb_2022_11_15 and aaabbb_2022_11_15 in the folder then I want to pick up aaabbb_2022_11_15 also the user should be able to select any specific file using analytic app example user should be able to pick aaabbb_2022_11_12 even if its not most recent.

 

Can we filter right filename by using regex and filter?

srk0609_1-1670475740490.png

 

Note - default mechanism is to pick most recent file with name aaabbb and also have ability to take specific date from user when run as analytic app

 

how to pick specific sheet from multiple sheets in excel file?

I also attached excel files here. i want to get data in sheet A. Can someone help? Thank you

6 REPLIES 6
KrishnaChithrathil
11 - Bolide

@srk0609 

Does this help you anyway?

sorted the filename and creation time.

KrishnaChithrathil_0-1670476829582.png

 

srk0609
8 - Asteroid

Instead of creation time I want to use the date mentioned on the file name. Can you please tell how to do that?

 

KrishnaChithrathil
11 - Bolide

@srk0609 

I took the date from the file name and sorted. How does this look?

KrishnaChithrathil_0-1670478784886.png
KrishnaChithrathil_1-1670478838866.png

srk0609
8 - Asteroid

Hi the workflow worked partially I was able to pick top 3 most recent files but can you please help me read those files? I'm getting following error when I try to read using Dynamic input tool. My xlsx file contains multiple sheet can you please tell me how to add sheet name to Dynamic input tool?

srk0609_0-1670617460674.png

 

ArtApa
Alteryx
Alteryx
KrishnaChithrathil
11 - Bolide

@srk0609 hey. sorry I wasn't active this week. Is this issue resolved? Attaching what I've tried. 

KrishnaChithrathil_0-1671170030324.png

KrishnaChithrathil_1-1671170131806.png

 

Labels