Configure Power BI incremental refresh: date filters, retention windows, and validation
Power BI incremental refresh updates a recent slice of a large table instead of rereading all rows each time, while retaining older data in historical partitions. It works when the source can filter by date and the filter folds to the source. The essentials are the case-sensitive RangeStart and RangeEnd parameters, non-overlapping date boundaries, deliberate archive and refresh periods, and verification of the first full service refresh.
Configure Power BI incremental refresh: date filters, retention windows, and validation
Power BI incremental refresh updates a recent slice of a large table instead of rereading all rows each time, while retaining older data in historical partitions. It works when the source can filter by date and the filter folds to the source. The essentials are the case-sensitive RangeStart and RangeEnd parameters, non-overlapping date boundaries, deliberate archive and refresh periods, and verification of the first full service refresh.
Verify real-time capacity eligibility
The Microsoft Learn pages checked on 2026-11-20 disagree about the optional real-time DirectQuery partition: the overview's supported-plans table lists Premium, Premium per user, and Embedded, while its summary/setting and the configuration guide label the option Premium only. This does not change the general incremental-refresh support list, but verify the target workspace SKU and current service UI before relying on real-time data. Microsoft: overview · Microsoft: configuration
Decide whether it fits
Incremental refresh does not make data automatically real time. Each refresh rereads only the recent period in the policy, so choose a window wide enough to include corrections to older records. Performance gains depend on date filtering and query folding. Microsoft Learn lists standard incremental refresh as supported for Pro, Premium, Premium per user, and Embedded models. The real-time option, which adds a DirectQuery partition for data after the last refresh period, is supported only for models in Premium, Premium per user, or Embedded capacities. Check current tenant and capacity terms. Microsoft: incremental refresh overview and requirements
For example, if a daily 4 a.m. refresh reads transactions that can be corrected for several days, a one-day window can miss corrections to already archived dates. If corrections usually arrive within seven days, consider a refresh period covering at least that span. This is a planning example, not measured data; confirm actual correction delays with the source owner.
See how the time windows fit together
The archive period keeps historical rows in the model; the refresh period rereads recent Import partitions on each refresh. If enabled and supported, the optional real-time DirectQuery partition reads rows after that period from the source when a report queries them.
OLDER ───────────────────────────────────────────────────────────────> NOW
[Historical Import partitions] | [Refresh-window Import partitions] | [Optional DirectQuery tail]
retained until archive window expires | reread on each refresh | queried from source at report timeThe archive is a rolling window: rows outside it can be removed when the policy advances. Microsoft: incremental refresh overview
Understand the policy windows
| Setting | What it controls | Decision question |
|---|---|---|
| Archive data starting before refresh date | Historical range retained in the model | What is the oldest date reports need? |
| Incrementally refresh data starting before refresh date | Recent range reread on each refresh | How long can past source data be corrected or arrive late? |
| Detect data changes | Uses the maximum of a separate change-time column to skip unchanged periods | Is there a reliable update timestamp, and how are deletes represented? |
| Get the latest data in real time | Reads rows after the refresh window through a DirectQuery partition | Does the capacity support it and can the source handle queries? |
A shorter archive range can remove old rows from the model. A longer refresh range reduces missed corrections but increases work. Choose both from the reporting horizon and the source's actual correction process. Change detection uses an update timestamp different from the partition date. It detects soft deletes only: the source row remains and is marked deleted with an updated tracking value. A physically removed row may not be detected by change detection alone. Microsoft: configure incremental refresh
Create parameters and filters in Desktop
In Power BI Desktop, open **Transform data**. In Power Query Editor, create Date/Time parameters named exactly RangeStart and RangeEnd under **Manage Parameters**; capitalization matters.
Set their current values to a small sample period for Desktop preview. These values do not replace the service policy.
Filter the source date/time column to be greater than or equal to RangeStart and less than RangeEnd. This half-open interval avoids including a boundary row in adjacent partitions. Do not use an inclusive comparison on both ends.
Select **Close & Apply** and confirm that only the small interval loads. If it is unexpectedly slow, check whether the filter folds to the source.
In Table view, right-click the target table and choose **Incremental refresh**. Set archive and refresh windows. Enable whole-day refresh, change detection, or real-time DirectQuery only when the use case needs them.
Save and publish, then manually run the first service refresh. It creates partitions and loads the archive period, so it may take much longer than later refreshes. Check refresh history and validate date coverage and totals.
The service overrides the parameter values for each partition window. Use the same RangeStart and RangeEnd parameters for policies on multiple tables. If a source has only integer date keys such as yyyymmdd, keep the parameters as Date/Time and convert them to integer keys in a function while preserving query folding. Microsoft: configuration steps and boundary filters
First refresh and republishing risks
The first service refresh loads the archive history and creates partitions; it is not a routine small refresh. Plan a suitable maintenance window and capacity, run it manually, and monitor progress. For a large model on Premium capacity, check whether Large semantic model storage format should be enabled before the first refresh.
Republishing an incremental-refresh model from Desktop can replace service partitions and data, and a later refresh may load everything again. Before republishing, check current Microsoft guidance and deployment procedures, and decide whether service history and policy must be preserved. XMLA endpoint and metadata-only deployment are advanced operations for eligible Premium configurations; use them only with appropriate permissions and a recovery plan. Microsoft: overview, publishing, and first refresh · Microsoft: advanced partition management with XMLA
Validate performance and correctness
Confirm in Power Query that the date filter folds to the source. Without folding, each partition can retrieve a broad set and filter locally, slowing both initial and recurring refreshes.
Check boundary values and time zones. Service refresh can use UTC unless a different time zone is configured; confirm that day boundaries match the business calendar.
Compare Desktop preview, source row counts, and model results for representative dates. Check for missing or duplicated boundary rows and decide how null dates are handled.
Record the maximum delay for late or corrected rows and ensure the refresh window covers it. If the change-detection value does not change, that period may not be refreshed.
After scheduled runs, inspect completion time, processed period, failures, and retries in Refresh history. Apply the current capacity's refresh limits and diagnostic access.
If setup fails, first test whether the small Desktop filter applies quickly and folds. Then check parameter names and types, comparison operators, source drivers and permissions, refresh windows, and capacity limits. XMLA tools can inspect partitions in eligible Premium configurations; equivalent access may not be available for Pro shared capacity. Microsoft: troubleshoot incremental refresh
Incremental refresh reduces repeated work while retaining required history. Validate the archive horizon, correction window, boundary filter, and initial full load separately to avoid missing data or an unexpected full refresh.