Showing results for 
Search instead for 
Did you mean: 
New Member

Refresh data from import query by keeping old data and add new date of refresh



I have a question.

I want to import the results of a query (from SQL Server) every month. However, I want to keep the old results and add the data of the query that is going to be executed.

When importing, I want to add the extraction date in a column. Because I will need this value to make comparisons.

Is this possible with Power BI?


Thank you,


Super User IV
Super User IV

Three potential ways to consider below.  Note that Power BI doesn't inherently provide ways to take data snapshots.


1.  Use the incremental refresh feature of Power BI , so you have all the data.  You can add a calculated column to define data periods for comparison if needed.


2. Since it is SQL Server, you could set up a flow in Power Automate with a Power Query step to get data on a defined schedule and save the files (as CSV probably) to SharePoint/OneDrive.  You can then use those files as your Power BI source.


3. Similar to #2, set up a paginated report and subcribe to the CSV version of it at a defined frequency, use a flow to save it on SharePoint/OneDrive and use those files as the source.


#1 is the cleanest/best if possible.




Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.

@mahoneypa HoosierBI on YouTube

Helpful resources

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Urdu Hindi D365 Bootcamp 768x460.png

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors