Forum Discussion
How to exclude large historical table from refresh in Power BI?
- 1 year ago
Hi everyone!
I wanted to share how I finally resolved the issue I posted about earlier regarding excluding a large historical table from refresh in Power BI.🧩 The problem recap:
We had a large fact table (~200M rows, 93 columns), and incremental refresh failed during full dataset refresh due to timeout and memory limits – partitions weren’t being created.
We attempted a Hot & Cold Data approach by splitting into historical and current tables in Power Query and appending them, but even with “Include in refresh” disabled for historical, Power BI still queried it during refresh.
Using DAX UNION to combine both tables increased dataset size and hurt performance due to additional in-memory tables and complex measures.
✅ What worked:
We switched to custom partitioning using Tabular Editor and SQL Server Management Studio (SSMS).
I created one partition per year manually and gradually loaded data year by year.
This approach allowed us to:
Successfully configure incremental refresh.
Avoid timeouts.
Reduce memory pressure during refresh.
🚀 Bonus:
Once all partitions were added and processed, incremental refresh ran smoothly.
This method avoided unnecessary reloading of historical data during refresh and ensured performance remained stable.
I hope this helps someone facing a similar challenge. Feel free to ask if you’d like more technical details! 😊
Hi katushka_enko You could check these for workarounds to your questions
To append the Current and Historical tables without re-querying the Historical table during refresh, you can export the Historical table as a static file (CSV or Parquet). Import this file into Power BI, disable "Include in Report Refresh," and keep it static. Then, append it to the Current table in Power Query or use a DAX-calculated table (UNION(Historical, Current)) within the model.
To store the Historical table in the model without it being queried every time the Current table refreshes, load the Historical table once as a static dataset and ensure it is excluded from refresh. Avoid transformations involving the Historical table in Power Query to prevent Power BI from triggering a query.
If this post helped please do give a kudos and accept this as a solution
Thanks In Advance