Forum Discussion

katushka_enko's avatar
katushka_enko
Frequent Visitor
1 year ago
Solved

How to exclude large historical table from refresh in Power BI?

Hi Power BI Community, I’m facing an issue with refresh performance in my Power BI report due to a large historical dataset. I’ve tried the Hot & Cold Data approach, but the historical table is stil...
  • katushka_enko's avatar
    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! 😊