Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi all
apologies if this is already covered in another community post - I couldn't find a full answer to what I'm after.
I have a Power BI report which takes information from multiple spreadsheets (csv and xlsc format). I receive new input files on a regular basis which follow the same format - they will arrive in a folder on my machine via new file names.
What I am trying to do is to auto-refresh my report with these new files. I have establish a "folder connection" with various filters (e.g. most recent file in folder, name filter). However, I get the error "the key didn't match any rows" in my queries. I believe setting up a parameter for these queries might help but am not sure if this is doable for spreadsheets. Any help would be appreciated.
Thank you
Simon
Solved! Go to Solution.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.