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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Read only new files, while keeping the old files as is

Hi,

 

My PowerBI app reads all files from a local folder. It has one file for everyday in the past two years (over 700 csv files). Tomorrow, when my PowerBI gets refreshed, I want it to read only that day's file (31/11/2023) instead of reading all the 700+ files which does not get updated anyway.

 

Although I dont want it to read all 700 files, I still am using the data in my visuals though. So I dont want it to loose the previous data, but just not re-read it every single time it refreshes,

 

Is this possible to do, because reading 700+ files everyday takes hours to run?

 

Thanks in advance!

1 ACCEPTED SOLUTION

You would want to import the data into your database. Append it to a central table that contains data from all the .csv files. Then Have your powerbi report point to the MySQL Table instead of the folder. 

This should be a lot faster and way less overhead (just click refresh in PowerBI or right click refresh if the report is deployed to PBI service) assuming permissions are in place.

View solution in original post

11 REPLIES 11
Data-estDog
Resolver II
Resolver II

This is situation where you need to put your foot down and think of a more scaleable solution. 

Spin up a SQL DB for $5 a month and import the new files. Process the new files and move it to an archive folder.
Or if you are not in the cloud, SQLExpress, or MySQL. 

Anonymous
Not applicable

I do have a MySQL database.
So I can process the new files in there and append with existing data in powerBI?

You would want to import the data into your database. Append it to a central table that contains data from all the .csv files. Then Have your powerbi report point to the MySQL Table instead of the folder. 

This should be a lot faster and way less overhead (just click refresh in PowerBI or right click refresh if the report is deployed to PBI service) assuming permissions are in place.

I should state an assumption: I assume that the row count is not the issue here. I believe the slowness is just looping through all the files.

Anonymous
Not applicable

Thanks I'll try that and see if it goes faster.

Idrissshatila
Super User
Super User

Hello @Anonymous , 

 

you could disable their refresh from power query thus they won't be refreshed but they will still be there.

 

Idrissshatila_0-1698667840550.png

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Anonymous
Not applicable

But i believe this will not read the new file too right? Or I will have to read the new file and append the rows to the existing table (from previous day), which will still go on to read all the previous files wont they?

@Anonymous , you need to disable it to all the csv before



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Anonymous
Not applicable

Well,
Sorry if I wasn't clear earlier.
But all my files are in one folder and PowerBI reads the whole folder, and stores it as one table.

@Anonymous , in this case you can't disable the refresh because power bi recognize it all as one table appended.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Anonymous
Not applicable

That's correct, so is there any other way?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors