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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
User2804
New Member

historical data for dynamic table

I have a dynamic database, and I want to keep a history of the data while adding only the new data with each weekly or monthly update. I would like to achieve this in Power Query. Is it possible? Incremental refresh is not an option, and I don't want to export data to SharePoint files using Power Automate.

5 REPLIES 5
Omid_Motamedise
Super User
Super User

It is not easily possible in power query. 

if you use Power Bi, maybe you can add a step by using Python script to export the result into CSV and then use that inside the code also, 

if you use Excel, it become a little bit more challenging 


If my answer helped solve your issue, please consider marking it as the accepted solution.

Yes I'm using Power BI, is it possible to add a python code to extract the data in cvs file (millions of rows) ?

User2804
New Member

any other solutions ?

@User2804 

 

Dump data out of the database before it is replaced?

 

Or just leave the data in the database?  Don't delete anything.

 

Regards

 

Phil

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


PhilipTreacy
Super User
Super User

@User2804 

 

No not possible.  PQ isn't able to store data, it loads data from the datasource every time the query is refreshed.

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.