Hi all,
I need help with Alteryx picking up the correct input file with filename that contains "Business Date -1" from a folder.
I have to utilize the data from previous business day “E” file only.
For example on 18th July 2025 (Friday), I will need to pull out data in “CLIENTAAA_20250717_E_TRADEFILE“ and on 21st July 2025 (Monday), I will need to pull out data in “CLIENTAAA_20250718_E_TRADEFILE” file.
I’ve tried using below combination and it didn’t work when I tried running it on Monday, it picked up the incorrect 9th July 2025 file (CLIENTAAA_20250709_E_TRADEFILE) due to last modified date timestamp.
I've attached my alteryx workflow = [1] Directory *CLIENTAAA**E_TRADEFILE* + [2] Sort LastWriteTime Descending + [3] Sample First N rows + [4] Dynamic Input
Is there any way i can amend my Alteryx to grab the file (i.e.CLIENTAAA_(BUSINESS DATE RUNTIME - 1)_E_TRADEFILE) i desired?
Thank you so much in advance!