Sub topic 1
Why Full Refresh Does Not Scale
A full refresh of an Import table reloads every row, every time. That is fine for a small table. It becomes a problem when a fact table grows by thousands of rows a day and the refresh time grows with it. This chapter explains where the cost of a full refresh comes from, why most of that work is wasted, and what incremental refresh changes. The later chapters build the setup step by step.
Prerequisites
This chapter assumes you can already do the following:
- Connect Power BI Desktop to a source and load a table in Import mode.
- Read the Applied Steps pane in Power Query and recognize steps such as filtering rows and changing types.
- Explain the difference between Import and DirectQuery storage modes.
- Identify a date or datetime column on a large table in a relational source such as SQL Server or Azure SQL Database.
You do not need to know M syntax in depth or have used the XMLA endpoint. Both come up later.
What a full refresh does
In Import mode, Power BI keeps a compressed copy of your data inside the semantic model (the new name for what used to be called a dataset). When you refresh the model, the default behavior for each table is:
- Run the table's Power Query query against the source.
- Throw away the table's existing rows.
- Load the query result as the new contents of the table.
- Rebuild the table's dictionaries, compression, calculated columns, and relationships, plus any calculated tables that depend on it.
Nothing in this process asks whether a row has changed. A sales row from 2019 that has not been touched in years is read from the source, sent over the network, compressed, and stored again on every refresh.
Where the time goes
A full refresh pays for several things, and each one grows with the total size of the table.
| Stage | Work done | Grows with |
|---|---|---|
| Source query | The database scans and returns every row | Total rows in the source table |
| Transfer | Rows move from the source, possibly through an on-premises data gateway, to the service | Total rows and row width |
| Compression | The engine encodes each column and builds dictionaries | Total rows and column cardinality |
| Post-processing | Relationships, hierarchies, and calculated columns are recalculated | Total rows in the model |
| Memory | The service holds the old copy so reports keep working, while it builds the new one | Model size, roughly doubled at peak |
The memory row catches many teams by surprise. A model that is comfortably under a capacity's memory limit when idle can still fail a refresh, because the refresh needs room for both versions at once.
The cost grows with history, not with change
The real issue is that the work is proportional to the total number of rows, while the number of rows that actually changed per day is small and roughly constant.
Take a sales table with these properties:
- About 100,000 new rows per day.
- Five years of history, which is roughly 1,826 days.
- Rows older than a few days almost never change.
| Approach | Rows read per refresh | Share of the table |
|---|---|---|
| Full refresh | About 182.6 million | 100% |
| Reload only the last 10 days | About 1 million | About 0.55% |
A year later the table holds about 219 million rows. The full refresh now reads 20% more data to pick up the same 100,000 new rows. The 10-day reload still reads about 1 million rows. A full refresh gets slower as history accumulates. A windowed reload stays flat.
What this looks like in the source query
Here is what the source database sees. A full refresh sends a query with no date condition:
SELECT OrderID, OrderDate, CustomerKey, ProductKey, Quantity, SalesAmount
FROM dbo.FactSales;An incremental refresh sends one query per partition it needs to reload. Each has a date condition in the WHERE clause. This example shows one daily partition:
SELECT OrderID, OrderDate, CustomerKey, ProductKey, Quantity, SalesAmount
FROM dbo.FactSales
WHERE OrderDate >= '2026-11-26T00:00:00'
AND OrderDate < '2026-11-27T00:00:00';The second query is cheap only if the database can use an index or partition on OrderDate. If it still scans the whole table to find those rows, you have moved the filtering but not removed the cost. Index your date column on the source side.
Practical limits you hit first
Long refresh times are not only an annoyance. They run into hard limits and shared resources.
- Refresh timeout. A scheduled refresh in the service is cancelled if it runs too long. At the time of writing the limit is 2 hours on shared capacity and 5 hours on Premium capacity. Check the current documentation, because limits change.
- Refresh frequency. Shared capacity allows a fixed number of scheduled refreshes per day (8 for Pro, 48 for Premium). A refresh that takes an hour cannot realistically run every 30 minutes. A refresh that takes a minute can.
- Source load. A full scan of a large fact table on a production database competes with the transactional workload. Teams often end up forced to refresh only overnight.
- Gateway capacity. With an on-premises source, all rows pass through the gateway machine. Its CPU, memory, and network become the bottleneck.
- Failure cost. If a full refresh fails after 90 minutes, you restart from the beginning. A table split into partitions can retry the part that failed.
What incremental refresh changes
Incremental refresh splits one large table into date-based partitions. A partition is a separately stored and separately refreshable slice of a table. You tell Power BI how much history to keep and how much of the recent past to reload. After that, each refresh does the following:
- Reloads only the partitions inside the recent window.
- Leaves older partitions as they are.
- Creates a partition for new periods and drops partitions that have fallen out of the retained history.
The refresh work now depends on the size of the window, not the size of the table. The total stored data still grows with history until you drop old partitions, but you no longer pay to reread it.
Making this work depends on a small set of pieces, each covered in its own chapter:
| Piece | Role | Covered in |
|---|---|---|
| Query folding | Lets the date filter run at the source instead of in Power BI | Next chapter |
| `RangeStart` and `RangeEnd` parameters | Tell each partition which date range to load | Parameters chapter |
| Filter on the date column | Applies those parameters to the table | Filtering chapter |
| Refresh policy | Defines how much history to keep and how much to reload | Policy chapter |
What it does not fix
Incremental refresh reduces the cost of loading data. It does not change several other things you may expect it to improve.
- Report query speed. Report visuals query the same compressed model. Partitions do not make DAX or visuals faster on their own.
- Model size. Five years of data still takes the space of five years of data. Incremental refresh avoids rereading it, not storing it.
- Changes to old rows. If a row from last year is corrected at the source, a 10-day reload window will not see it. Either the window must cover how late corrections arrive, or you need another mechanism, such as detecting data changes or a manual partition refresh. Both come later in the tutorial.
- The first load. The first refresh after publishing still loads the full retained history, because the partitions do not exist yet. The savings start from the second refresh.
When incremental refresh is not worth it
Use it where the cost is large and the data fits the pattern. Skip it when:
- The table is small. If a full refresh takes a minute, partitions add complexity for no benefit.
- The table has no reliable date or datetime column that does not change for a given row. The filter needs a stable column to place each row in exactly one partition.
- The source cannot filter by date efficiently. Flat files, for example, cannot fold a filter, so each partition would still read the whole file.
- The table is a small dimension. Dimension tables are usually refreshed in full while the fact table is incremental.
Summary of the idea
- A full refresh reloads, transfers, compresses, and rebuilds every row on every run.
- The work grows with total history, while the data that actually changes stays small.
- Incremental refresh turns the table into partitions and reloads only the recent ones, so refresh cost follows the window size.
- It depends on folding the date filter to the source, so the source does the narrowing.
- It reduces refresh cost, not model size or report query time, and it misses changes to rows outside the window unless you plan for them.
Exercise
A fact table has 80,000 new rows per day and 4 years of history (use 1,461 days). Compare the rows read by a full refresh with a refresh that reloads only the last 7 days. Which approach gets slower as the table grows, and why?
Show answer
A full refresh reads about 80,000 x 1,461 = 116.9 million rows. Reloading 7 days reads 80,000 x 7 = 560,000 rows, about 0.48% of the table. The full refresh gets slower as the table grows, because its work is proportional to the total number of rows, which increases every day. The 7-day reload stays at about 560,000 rows no matter how much history has accumulated.
Exercise
Your team adds a filter OrderDate >= #date(2023, 1, 1) to a large table in Power Query and says "the table is now incremental". What is wrong with that claim, and what does incremental refresh need that this filter lacks?
Show answer
The filter only reduces how many rows are loaded. A fixed date condition does not create partitions, so every refresh still reloads all rows from 2023 onward. Incremental refresh needs a refresh policy that divides the table into date-based partitions, and a filter that uses the RangeStart and RangeEnd parameters so that each partition can load its own date range. The filter should also fold to the source so the database does the narrowing.
Exercise
Name two things that incremental refresh does not improve, and one situation where a row can change at the source without being picked up by a normal incremental refresh.
Show answer
It does not improve report query speed and it does not reduce the stored model size (history is still stored, just not reread). A row can be missed if it is corrected at the source after its partition has fallen outside the incremental refresh window, for example a year-old order that is updated while only the last 10 days are being reloaded.