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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Best Practices Advice for Automated Refresh Excel CSV

The goal is to receive a weekly Excel CSV file and have it on an automated refresh schedule. After some investigation, I understand how to load a file into PBIX but I am confused on the process if a new file will be sent weekly. How would you approach if the file name is changed everytime? (Ex: excelfile1.csv / excelfile2.csv / excelfile3.csv / etc...). How would you approach if the weekly delivered file name is the same everytime? (Ex: excelfile.csv) 

 

Most of the post/videos that discuss Excel file integration into PBIX discuss loading 1 file. I am more confused on how you would do it on a consistent weekly basis. I am hoping there is a way for the new weekly delivered file to be dropped into a teams/onedrive folder and the scheduled refresh will ingest it without any manual updates/file merging. 

 

If the request seems very amature, apologies, as this is my first time working with this type of project request. If there are post/videos that describe this specific scenario, feel free to drop the link. Your advice/suggestions on best practices are greatly appreciated. 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @Anonymous 

To automate the process of loading weekly Excel files into Power BI, you can use a folder as your data source. This method works whether the file names change or remain the same, as long as the data structure stays consistent. You can store these files in OneDrive for Business or SharePoint, and Power BI will automatically update during scheduled refreshes.

1. Store your weekly Excel files in a folder on OneDrive for Business or SharePoint.
2. In Power BI Desktop, go to Get Data > Folder, and select the folder location.
3. Power BI will combine the data from all files in the folder, and you can transform the data in Power Query if needed.
4. Set up automatic refresh in the Power BI Service to pick up new files added to the folder.

Helpful Tutorial Videos:
- https://www.youtube.com/watch?v=x30ssa2K9gU
- https://www.youtube.com/watch?v=4IaQb3KkcjI
- https://www.youtube.com/watch?v=NISsW-bVAwU

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

2 REPLIES 2
Ritaf1983
Super User
Super User

Hi @Anonymous 

To automate the process of loading weekly Excel files into Power BI, you can use a folder as your data source. This method works whether the file names change or remain the same, as long as the data structure stays consistent. You can store these files in OneDrive for Business or SharePoint, and Power BI will automatically update during scheduled refreshes.

1. Store your weekly Excel files in a folder on OneDrive for Business or SharePoint.
2. In Power BI Desktop, go to Get Data > Folder, and select the folder location.
3. Power BI will combine the data from all files in the folder, and you can transform the data in Power Query if needed.
4. Set up automatic refresh in the Power BI Service to pick up new files added to the folder.

Helpful Tutorial Videos:
- https://www.youtube.com/watch?v=x30ssa2K9gU
- https://www.youtube.com/watch?v=4IaQb3KkcjI
- https://www.youtube.com/watch?v=NISsW-bVAwU

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
audreygerred
Super User
Super User

Hi! Create a folder in a SharePoint site. Make sure that each csv file follows the same schema as far as field names (doesn't matter that every file name is different). Then, you will use the SharePoint folder connector and find the folder you need, then you can have the steps to combine files. This way every time you do a refresh it it'll append all the files from that folder together as one 🙂

 

Here is an article with details on geting this set up: Power Query SharePoint folder connector - Power Query | Microsoft Learn





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

Proud to be a Super User!





Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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