Hello,
I have a folder in Windows where excel files with the same format / structure are deposited but the name changes each day as this file is refreshed daily. For example, the name of the excel file is BS_D_25-Apr-2024 today, will be BS_D_26-Apr-2024 tomorrow etc.
What I want to do is to bring in the latest file each day, so on 25th I want to bring in the BS_D_25-Apr-2024 file then tomorrow when I run I want to bring in the BS_D_26-Apr-2024 in an automated way rather than manually importing - is there a way to do this?
I looked online and was directed to the Dynamic Input tool. I got a directory tool then used a dynamic input tool but struggle to use this has I don't have a data source template.
Another thing I tried was to get the file path name of the latest file in the folder however once I have this path I can't seem to tell the dynamic input too that this is the file that I want to import. To do this, I used the directory tool, then a sort tool to have the last write time in descending order so I can see the latest file. Then I used the select sample type too to get the first row and then a select tool now gives me the full path of the file I need. However I am stuck at this point as don't know how to tell Alteryx to bring in this file
Can anyone help me please? I'm sure there must be a simple solution to this as it can be done in Power Query in Excel so I would have thought Alteryx would have a way to do it?
Thanks!