Michael Tall — Header
Engineer monitoring enterprise partition refresh

Scale enterprise Power BI incremental refresh without two hour timeouts

Incremental refresh updates only recent rows using RangeStart and RangeEnd parameters, cutting refresh time and letting semantic models scale into hundreds of millions of rows. You set those two parameters, apply a filter that folds back to the source, define a rolling archive and refresh window, publish, and run a monitored initial load. DirectQuery hybrid scenarios need Premium capacity, and that first refresh carries real timeout risk on large tables.


TL;DR:

  • Incremental refresh requires a valid date column, query folding, and capacity support; missing any of these causes setup failure or slow reloads.
  • Using a small test window for initial refresh and verifying query folding prevents lengthy troubleshooting and costly failures during full-scale deployment.
  • Hybrid tables with DirectQuery support enable near-real-time data for recent periods, but require Premium capacity and specialized setup with XMLA commands.
  • The first full refresh typically takes hours, especially with multi-year data, and can fail if archive windows are large or capacity limits are exceeded.
  • Managing refresh through monitoring, automation, and staged partition processing ensures reliability and quick troubleshooting at scale.

Datataal
Build More Reliable Data Architectures
Datataal designs scalable Microsoft Fabric architectures that simplify analytics, improve reporting, and support real-time business insights.

Explore Datataal

Table of Contents

Quick checklist: prerequisites to verify before you start

Before opening Power Query, confirm the groundwork is solid. Missing one of these is the most common reason incremental refresh setups fail on the first attempt, not months later.

  • Licensing and capacity: Pro and Premium Per User (PPU) both support incremental refresh, but refresh duration limits differ by capacity type, and only Premium supports the DirectQuery hybrid pattern.
  • A usable date column: you need a genuine date/time column to filter on, or a plan to convert an integer surrogate key without breaking the filter’s ability to fold.
  • Query folding: RangeStart and RangeEnd only work if the filter built from them pushes down to the source system.
  • Window lengths: decide how much history to archive and how many recent periods to refresh each time, and whether detect data changes is worth the extra audit column overhead.

Skipping the folding check is the single costliest mistake here. Everything else in this guide assumes that box is ticked.

Requirements and planning: capacity, data types and folding checks

Capacity dictates how much room you have to fail. On shared (Pro) capacity, refresh operations are capped, and Microsoft’s own guidance sets a two-hour ceiling for a refresh on shared capacity and a typical five-hour ceiling on Premium. That gap matters enormously once you’re bootstrapping years of history into a new incremental policy.

Statistic Callout: Shared capacity refreshes have a two-hour limit; Premium capacity allows longer refresh durations, and programmatic refresh using the XMLA endpoint can bypass some limits depending on capacity resources.

Data type handling trips up more implementations than any other single step. If your source uses an integer surrogate key rather than a native date, you need to convert it in a way that still lets the filter fold. Do the conversion at the source, in a view or a staging query, rather than in a late Power Query step, because a transformation applied after the fact almost always breaks folding silently.

Query folding is not optional here. If the RangeStart/RangeEnd filter doesn’t fold back to the source, Power BI still runs the filter, but it pulls the full table across the wire first and filters locally, defeating the entire point of incremental refresh. Confirm folding by right-clicking the filtered step in Power Query Editor and checking whether “View Native Query” is available; if it’s greyed out, something upstream in your query is blocking the push-down.

Illustration of query folding filter pushdown

For window sizing, a common starting point is a short refresh window (the last few days or the current month) alongside a much longer archive window (one to several years), adjusted once you understand actual data volumes and refresh timings in production.

How do you set up incremental refresh in Power BI Desktop?

The mechanics live in Power Query and the model view, and the sequence matters. Skip a step, or get the filter logic wrong, and you’ll either break folding or duplicate rows.

  1. Create the RangeStart and RangeEnd parameters. In Power Query, add two parameters named exactly RangeStart and RangeEnd, both of type Date/Time. The names are case-sensitive, so rangestart will not work. Set sensible testing defaults, such as a narrow two-week window, so your initial preview loads quickly while you validate the logic.
  2. Apply a date filter using those parameters. Filter your date column so it’s greater than or equal to RangeStart and strictly less than RangeEnd. Use exactly one equality operator across the two conditions, never two, or you risk pulling duplicate rows at the boundary between partitions.
  3. Check that the filter folds. Before moving on, confirm the filtered step still shows “View Native Query” as available. If it doesn’t, move the filter earlier in your query, or push the date logic into a source-level view.
  4. Open the Incremental refresh dialog on the table. In Power BI Desktop’s model view, right-click the table and enable incremental refresh. Set the archive period (how much history to store) and the refresh period (how far back each refresh looks).
  5. Decide on Detect data changes. If you have a reliable audit column that updates whenever a row changes, and it’s distinct from your partitioning date column, turn this on to skip unchanged periods and cut refresh time further.
  6. Decide on a DirectQuery partition. If you need genuinely current data alongside historical import partitions, enable the hybrid table option here, understanding this requires Premium capacity to run in the service.
  7. Publish to the Power BI service. The service reads your policy and creates the underlying partitions automatically once the semantic model lands there.
  8. Run and monitor the initial refresh. This first run has to process every historical partition for the first time, so it behaves nothing like a routine incremental run. Watch refresh history closely; a table with several years of daily data can genuinely take hours on its first pass.

Pro Tip: Test your parameters with a deliberately small date range first, publish, confirm the partitions look right in refresh history, then widen the archive window. Discovering a folding problem on a two-week test load costs you minutes; discovering it during a five-year bootstrap costs you an afternoon and a support ticket.

The initial refresh is where most incremental refresh projects actually fail, not in the parameter setup. Once published, the service overwrites your RangeStart/RangeEnd testing values and takes over partition management itself, building however many historical partitions your archive window implies. If that number is large, the first refresh needs to create and populate all of them in one operation, which is precisely where shared capacity’s two-hour cap becomes a real constraint rather than a theoretical one.

Advanced patterns: hybrid tables and XMLA partition control

Standard incremental refresh assumes yesterday’s data is fine. Some workloads need this hour’s data, and that’s where hybrid tables and DirectQuery partitions come in. A hybrid table keeps years of history in imported, compressed partitions while a single DirectQuery partition covers the most recent slice, giving you near-real-time numbers without importing everything on every refresh. This pattern requires Premium capacity, and Microsoft’s guidance is explicit that real-time DirectQuery partition support sits behind that requirement.

  • Use Dual storage mode on dimension tables that relate to your hybrid fact table, so queries can hit either the DirectQuery or import side without forcing a full DirectQuery join.
  • Be aware that visuals querying the DirectQuery partition won’t benefit from the in-memory engine’s caching, so dashboards leaning heavily on that partition can feel noticeably slower than fully imported equivalents.
  • Reserve DirectQuery hybrid for tables where genuine recency matters commercially, not as a default setting on every fact table.

For very large historical loads, the UI-driven initial refresh often isn’t viable at all.

Bootstrapping partitions through the XMLA endpoint, using tools such as Tabular Editor or SQL Server Management Studio, means applying the refresh policy to create empty partition objects first, then processing those partitions sequentially or in controlled batches rather than in one enormous operation. This approach exists specifically because a single monolithic initial load on a multi-year table is one of the most common causes of refresh timeout failures.

Beyond bootstrapping, the XMLA endpoint opens up programmatic partition management through TMSL and TOM scripting, letting you refresh, merge, or rebuild individual partitions outside the standard UI. For teams running scheduled automation rather than manual scripts, the enhanced refresh REST API gives comparable partition-level control with built-in retry and timeout handling, which matters once refresh operations are wired into a pipeline rather than triggered by a person watching a screen.

Troubleshooting and best practices: folding, detect changes and timeouts

Most incremental refresh failures trace back to one of three causes: broken folding, a misconfigured detect data changes setup, or a capacity limit that’s been quietly exceeded.

  • If a refresh that used to take minutes suddenly runs for hours, check folding first. A seemingly harmless upstream change, like adding a calculated column before your date filter, can silently block the push-down.
  • Fix folding failures by moving type conversions and calculated logic to the source, or by parameterising the source query itself rather than filtering after the data has already landed in Power Query.
  • Detect data changes only catches updates and additions reflected in your chosen audit column. It does not detect hard deletes unless your source implements soft deletes with a status flag, and the audit column must be distinct from the partitioning column or the setting becomes meaningless.
  • Watch capacity limits deliberately: shared capacity’s roughly two-hour cap and Premium’s roughly five-hour cap aren’t guidelines, they’re hard stops that will fail your refresh mid-run.
  • Remember the inactivity rule: a semantic model with no user views for two months has its scheduled refresh automatically paused, which looks like a mysterious failure until you realise nobody’s opened the report.

Pro Tip: When a single partition refuses to refresh cleanly, don’t rebootstrap the entire model. Use Tabular Editor or the XMLA endpoint to target that one partition, confirm it processes in isolation, and you’ll usually isolate the fault far faster than reprocessing years of history to chase a problem confined to one week.

For genuine emergencies, a metadata-only deployment (redeploying the model definition without disturbing existing partition data) can recover a broken policy without forcing a full historical reload.

Monitoring and automation: refresh history, APIs and scheduling

Treat refresh history as an operational dashboard, not an afterthought. It’s where the first signs of trouble show up, days before end users notice stale numbers.

  1. Read refresh history regularly, watching duration trends over time and reading failure messages in full rather than just the status code; a slowly creeping duration usually signals a folding regression or growing archive window.
  2. Automate refreshes through the enhanced refresh REST API rather than relying solely on scheduled UI refreshes, since it supports table and partition-level refresh with configurable retry logic and timeout handling, which is far better suited to production pipelines than manual reruns.
  3. Match scheduling to capacity: shared capacity tenants should keep schedules conservative given the two-hour cap, while Premium tenants can lean on more frequent refreshes or Fabric Data Pipelines to sequence dependent loads.
  4. Guard against inactivity pauses on models with sparse but critical usage by building a lightweight scheduled view or automated query against the report, since any genuine view resets the inactivity clock and keeps scheduled refresh active.

Practitioner notes: how Datataal implements incremental refresh at scale

At scale, incremental refresh stops being a Power Query setting and becomes a deployment discipline. The pattern that works reliably: apply the refresh policy to create partition objects first, then process those partitions in staged, sequential batches through the XMLA endpoint rather than triggering one initial load and hoping it finishes inside the timeout window.

Staged partition processing sequence

Around that technical sequence, governance controls can help ensure a routine model update never silently overwrites a working refresh policy, documented runbooks provide guidance for partition failures, and monitoring alerts track refresh duration trends rather than just pass/fail status.

Capacity upgrades or a CI/CD deployment pipeline may be recommended when the archive window is large enough that manual redeployment risk becomes real, or when multiple developers are publishing to the same workspace and accidental policy overwrites become an operational threat.

[Client case study and measurable impact data to be added.]

Author perspective: incremental refresh as architecture, not a checkbox

Most guides treat incremental refresh as a performance toggle. It isn’t. It’s an architectural decision about how your organisation’s largest models fail, and it’s far better to fail gracefully on one partition than catastrophically on a full load. That framing changes how you plan capacity, governance, and deployment pipelines from day one, not after the first production incident. It also ties directly into wider Fabric architecture decisions your team is likely making anyway. If your most business-critical models still run full refresh, it’s worth auditing whether that’s a deliberate choice or an inherited default, and getting expert input before scale forces the question.

— Michael

How Datataal helps you get incremental refresh right in Fabric

Getting incremental refresh working in a demo is straightforward. Getting it reliable across a production model with years of history, multiple developers, and Premium capacity constraints is a different problem entirely, and it is a challenge organizations face when moving into Microsoft Fabric.

Datataal

Datataal designs the underlying Fabric data warehouse architecture and partition strategy so incremental refresh policies sit on solid foundations rather than patched-together Power Query steps, handles safe bootstrapping of large historical loads through the XMLA endpoint, and builds the governance runbooks and monitoring that catch a broken refresh before your finance team spots stale numbers in a Monday report. For teams weighing whether to fix an existing model or rebuild it properly within Fabric, that’s a conversation worth having early rather than after a refresh failure forces the issue. Book a discovery call through Datataal’s Microsoft Fabric consulting services and get a straight answer on what your current setup can support and where it will break.

Microsoft Fabric blog