Power Query
Should the warehouse pack only what you need, or should a truck bring everything to your office for you to sort? Folding is the first option.
Power Query can translate your steps into the source’s own language, usually SQL, and let the source do the work. That translation is folding. A step that cannot be translated usually means later work runs inside Power Query, on your machine or gateway. That is not an absolute rule: the engine may reorder steps while optimising, and in uncommon cases a later step still folds.
Imagine H Mart’s FactSales lives in SQL Server: 25,000 rows and 36 columns. The row counts are real, but this is a simplified teaching model: it treats every step after a break as local and does not reorder steps. It is not a measurement.
Start from
Steps that usually fold
Steps that often break folding
What the source receives
This varies by connector and version, so never assume. Check it instead.
On a ledger of crores of rows, folding can be the difference between a refresh of minutes and one that fails. Incremental refresh also relies on the date filter folding. The habit is simple: filter and remove columns first, then do the steps that cannot fold.