Forum Discussion
Slow query - multiple appended queries
Hi BA_Pete
The file is created automatically from a process control system and is updated hourly. There are several files created and dumped periodically with different schemas and data - I'm only interested in one. So for this to work would require manually copying the required file to a dedicated folder each time the query was to be refreshed.
Where does the process control system save the generated files to?
You could use Power Auomate to detect when a new file with a specific name was generated and have it automatically copy the file into your query source folder.
Pete
- Sammycat3 years agoNew Member
The files are saved to an on premises server.
- BA_Pete3 years agoSuper User
Ok, is that some form of Blob Storage? If so, you could potentially query the file structure with PQ, filter to only files that have a name like the ones you want, and replicate the Folder Connector behaviour by creating your transformations in a function.
It sounds complicated, but it's not really.
Pete