Forum Discussion
Auto-refresh newest csv/xlsx file from folder
- Anonymous6 years ago
HI Anonymous,
Folder connector can auto-refresh to append all folder files, if new files add to folder, they will be updated to your table records after folder refresh.
Currently, power query will cache the previous table structure in query steps. You need to confirm your file structure does not change or manually fix these not match fields in query steps to prevent 'key field not match' issues.BTW, power query combine functions not able to handle different type of files, I think you need to write a custom function to recognize the file type and use the corresponding connectors to get data and return result tables.
Regards,
Xiaoxin Sheng
HI Anonymous,
Folder connector can auto-refresh to append all folder files, if new files add to folder, they will be updated to your table records after folder refresh.
Currently, power query will cache the previous table structure in query steps. You need to confirm your file structure does not change or manually fix these not match fields in query steps to prevent 'key field not match' issues.
BTW, power query combine functions not able to handle different type of files, I think you need to write a custom function to recognize the file type and use the corresponding connectors to get data and return result tables.
Regards,
Xiaoxin Sheng