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
mcali
Regular Visitor

Daily data refresh from the same file

Hello everyone and thank you in advance for your help!

I need to do a daily data refresh from a file and I don't understand how to do it, here is the situation:

I have a folder named "IN" in which everyday is overwritten the same csv file with yesterday data. Before beeing overwritten the file is copied into a BCK folder with da date append to the file name.

I woud like to create a query that read the data from the csv and append the data to the one read the day before.

 

So for exampe today I have:

IN --> data.csv (contains data about 14/01/2021)

 

tomorrow I'll have:

IN --> data.csv (contains data about 15/01/2021)

 

How can I have a single table in powerbi that contains both data and that can be refreshed everyday appending the new data?

 

Thank you!

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @mcali 

 

First create two separate queries to get today's file and yesterday's file, then use Append Queries feature to append both data into one query.

012002.jpg

 

As yesterday's file name contains date and you hope to refresh the data automatically, you can use parameter to get the date automatically and replace the date part in file name. To realize this goal, please follow below steps.

012003.jpg012004.jpg

012005.jpg

At last, append two queries as shown in the first image.

 

Additionally, if you want to combine today's data and all the data in BCK folder, you can use Folder connector to combine all the files in BCK folder, then append today's data to that.

 

Kindly let me know if this helps.
Community Support Team _ Jing Zhang
If this post helps, please consider Accept it as the solution to help other members find it.

View solution in original post

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @mcali 

 

First create two separate queries to get today's file and yesterday's file, then use Append Queries feature to append both data into one query.

012002.jpg

 

As yesterday's file name contains date and you hope to refresh the data automatically, you can use parameter to get the date automatically and replace the date part in file name. To realize this goal, please follow below steps.

012003.jpg012004.jpg

012005.jpg

At last, append two queries as shown in the first image.

 

Additionally, if you want to combine today's data and all the data in BCK folder, you can use Folder connector to combine all the files in BCK folder, then append today's data to that.

 

Kindly let me know if this helps.
Community Support Team _ Jing Zhang
If this post helps, please consider Accept it as the solution to help other members find it.

amitchandak
Super User
Super User

@mcali , refer to this DAX append technique

 

https://blog.crossjoin.co.uk/2020/04/13/keep-the-existing-data-in-your-power-bi-dataset-and-add-new-...
https://www.thebiccountant.com/2017/01/11/incremental-load-in-powerbi-using-dax-union/

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
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.