Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Auto-refresh newest csv/xlsx file from folder

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

1 ACCEPTED SOLUTION
Anonymous
Not applicable

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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

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

GilbertQ
Super User
Super User

Hi there

Currently when you refresh the data it loads all the data from your source location/files.

There will be Incremental refreshing coming to Power BI Pro, but that will only be for supported data sources and from my understanding Excel/CSV is not currently supported.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.