Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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!
Solved! Go to Solution.
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.
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.
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.
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.
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.
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.
User | Count |
---|---|
73 | |
70 | |
38 | |
24 | |
23 |
User | Count |
---|---|
96 | |
93 | |
50 | |
41 | |
40 |