RangeStart and RangeEnd
Partition by an immutable timestamp
Incremental refresh keeps older imported data while reloading a recent range. The partition filter decides which rows belong to each time interval; it is not a last-modified filter. Use an immutable event timestamp in a documented time zone. In the lab, January has 150 cents, February 100 and March 100 in source snapshot v1. A sale exactly at February midnight belongs to February, not January.
Define the range parameters and fold the filter
In Power Query Manage Parameters create case-sensitive RangeStart and RangeEnd, both Date/Time, with example values 2025-01-01 00:00 and 2025-02-01 00:00. Define a typed source column EventUtc whose zone-free datetime values represent UTC. Use exactly one inclusive boundary; the recommended interval here is [start, end). This M fragment is an applied step after a typed source query named Source (not a complete connector query).
Table.SelectRows(Source, each [EventUtc] >= RangeStart and [EventUtc] < RangeEnd)Preview should contain only January rows. Verify folding using connector-supported native-query inspection or approved source traces. If the source uses integer YYYYMMDD keys, transform the parameter into the source key type rather than forcing a conversion of every source row; this only works for day-grain intervals. Confirm predicate pushdown, do not infer it from fast preview.
Example 1 — prove boundary ownership
Open labs/incremental-refresh/source-v1.csv. The January event at 2025-01-31 23:59:59 contributes 50; the February event at 2025-02-01 00:00:00 contributes 80. The Jan range returns IDs 1, 2 and 150 cents; Feb returns 3, 4 and 100. Using >= for each lower endpoint and <= for each upper endpoint counts ID 3 in both January and February. Using > for both lower endpoints and < for upper drops ID 3 entirely. Check membership per ID, not merely total revenue.
Example 2 — UTC and local time
A source timestamp 2025-03-31T20:30:00-04:00 represents 2025-04-01T00:30:00Z. Normalize before removing timezone information. For this isolated M example (not a folding demonstration):
DateTimeZone.RemoveZone(DateTimeZone.SwitchZone(#datetimezone(2025,3,31,20,30,0,-4,0),0))Expected zone-free UTC datetime: April 1 00:30. It belongs to April, not March. If a business wants local calendar dates, define local boundaries and their UTC equivalents using a trusted timezone rule upstream; a fixed offset does not model daylight saving changes. Service refresh clock settings affect policy period selection, not automatic conversion of source timestamps. XMLA refresh uses UTC by default rather than the Service timezone setting.
Preview is not a service partition
Desktop parameter values constrain development data. After publication, the first Service refresh applies the policy and creates historical and recent partitions, potentially merging them over time. Do not equate the preview range with the retained history or assume that partition names are fixed. Native partition count, source queries and retention must be observed in an approved workspace.
Practice — design a boundary test
Predict March v1 IDs and revenue for [March 1, April 1). Explain where April 1 00:00 belongs. Write the two M predicates and state the time-zone contract. Identify which evidence would establish actual folding.
Sources consulted 2026-11-29: incremental-refresh-configure, incremental-refresh-overview, power-query-folding. Native engine and installed version not tested.