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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

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

Hello,

 

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,

Nath

1 REPLY 1
mahoneypat
Microsoft Employee
Microsoft Employee

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.

 

Pat

 





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

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.