โ05-09-2023 07:37 AM
I want to do the file compare (DIFF) on two files but the name changes every day with a new date. On my File Reader snap, I have put the file names in like this
โsmb://xxxxxx.com/us_data/Shared/MM365/Clients/Small Market/Reporting/Non-Standard_Reporting/xxxxxxx_CUSTOM_FILE/SNAP_PAREXEL/xxxxxxx_Custom_Report_โ + Date.now().toLocaleDateString({โformatโ:โMM_dd_YYYYโ}) +โ.xlsxโ
the excel parser is throwing an error on this function. I need to compare the files on a daily basis. The files are written out with todayโs date. How can i set up a pipeline to read these files and compare them to yesterdayโs results? The file name will change daily. Any ideas?
โ05-25-2023 09:17 AM
i figured this outโฆi had some spaces in one location in the date that did not match the file reader location.