Forum Discussion
How to shortage the retrieving / loading data time to append new data to the existing results
I used "From Folder" options to create a query with several transformations, this folder contains the daily data files and the new generated file will be kept saved on this folder every single day.
Just like the subject said that how to shortage the retrieving / loading data time to append new data to the existing results. Many thanks.
You cannot do that. What you want is Incremental Refresh, but that only works with relational database systems like SQL Server. It will not work with files. You can have 1,000 files in a folder that are a year old and add one file today, and Power Query will go through all 1,001 files again on the next refresh.
3 Replies
- ahmedoyeResponsive Resident
NilsLam , I have two things i'll recommend to you.
- Open your PBIX, go to File>>Options>>Current File>>Data Load. Uncheck the box for "Allow data preview to load in the background?
- In Power Query, go to your applied steps area and be sure all steps are necessary.
Chief amogst what you look out for is steps that are "Changed Type" which are usually applied by default after some certain steps. You want to typically have only one "Changed Type" step at the end of your steps.
Another Chief to look out for is "Renamed Column" steps. You can typically just edit the "M" code in the formula bar that in steps that generate default names for columns.
If this answers your question, kindly mark it as a solution.
- edhansCommunity Champion
You cannot do that. What you want is Incremental Refresh, but that only works with relational database systems like SQL Server. It will not work with files. You can have 1,000 files in a folder that are a year old and add one file today, and Power Query will go through all 1,001 files again on the next refresh.