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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Web Directory of CSV files, incremental data refresh

Hello Community,

Looking for your guidance and to learn from you.

I have a web based directory that stores CSV datasets. The datasets hold sales transactions data. A new CSV is automatically added into the directory following each day of new sales. I have attached a screengrab by way of illustrating this. It is secured with username / password, of course.

Example.png

 

 

 

I want to build a model that can refresh / incorporate the new data as each additional CSV file is added to the directory, merging the new data with the historic data already imported into the Power BI model. I will then be able to do whatever analysis is necessary thereafter.

I only wish to reach out to the directory only to gather new data from any CSV files not prviously loaded into my Power BI model so as not to place un-necessary stress on the system.

 

Can you advise on the best approach to achieve this? 

 

As always, thank you for your kind assistance and for sharing knowledge.

Much appreciated.

1 ACCEPTED SOLUTION
v-diye-msft
Community Support
Community Support

Hi @Anonymous 

 

Do you mean you'd like to automatically fetch new files in the directory into power bi ?

 

Are the files all in the same format, for example csv (comma separated values)?

Is it important that each file ends up in a separate table?

 

You can use Get Data - Other - Folder to ask Power Query to grab all files in a specified folder. On each refresh, all data in that folder will be read so when new files are added, they will be read into the model upon refresh. You can also use all methods available in Power Query to shape the data as you see fit. All input will however end up in one table, but with a column containing the file name so it should be a simple matter to extract the date from the file name in that column in order to allow processing of date separated data.

 

You might refer to this similar thread which appends new excel automatically:

https://community.powerbi.com/t5/Desktop/Get-data-from-folder-and-append/td-p/526274 

https://community.powerbi.com/t5/Desktop/How-to-dynamically-append-files-when-Folder-is-in-Microsoft/td-p/488162 

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

2 REPLIES 2
v-diye-msft
Community Support
Community Support

Hi @Anonymous 

 

Do you mean you'd like to automatically fetch new files in the directory into power bi ?

 

Are the files all in the same format, for example csv (comma separated values)?

Is it important that each file ends up in a separate table?

 

You can use Get Data - Other - Folder to ask Power Query to grab all files in a specified folder. On each refresh, all data in that folder will be read so when new files are added, they will be read into the model upon refresh. You can also use all methods available in Power Query to shape the data as you see fit. All input will however end up in one table, but with a column containing the file name so it should be a simple matter to extract the date from the file name in that column in order to allow processing of date separated data.

 

You might refer to this similar thread which appends new excel automatically:

https://community.powerbi.com/t5/Desktop/Get-data-from-folder-and-append/td-p/526274 

https://community.powerbi.com/t5/Desktop/How-to-dynamically-append-files-when-Folder-is-in-Microsoft/td-p/488162 

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
amitchandak
Super User
Super User

@Anonymous , refer if this can help

https://www.howtoexcel.org/power-query/how-to-extract-data-from-multiple-webpages/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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