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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Beau-Vintertun
Frequent Visitor

Creating Historical tables in Desktop

How would I go about creating a historical table in Power BI Desktop, that archives an entire table of day old data after automatic daily row entries are made from a live connection to a SQL Database. I understand I could write a query to create a history table within SQL, but due to permissions and convinience, this is not the best way for me.

 

-Thank you

2 REPLIES 2
Beau-Vintertun
Frequent Visitor

Essentially I "want to collect your regularly loaded data without overwriting it and create a load log that writes the load activites with a timestamp into a new table'

There's no concept for this yet - but a feature request that you should support please: https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/7288623-incremental-data-loads

 

But there are workarounds: http://www.thebiccountant.com/2016/02/09/how-to-create-a-load-history-or-load-log-in-power-query-or-...

 

If your data is more than 150k rows (the current limit of the R-export), you can create another workaround by compressing your data to JSON and create different table that holds the JSON-strings (who mustn't be longer than 1023 characters) and re-combine them (I've another blogpost about this technique outstanding, so if you need it, please let me know & I might push it a bit :-))

 

You can also export unlimited rows by using DAX-studio, but that would mean very manual export and is not so good for incremental stuff but better for one-time-tasks.

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.