Skip to content
VirtualLP Virtual Learning Platform

Query Folding, Dataflows and Incremental Refresh

8 min read Topic 8 of 38

Understand it in simple language

Query folding pushes supported transformations to the source. Filtering early and removing unused columns can reduce transferred data. CSV files do not provide database query folding. Dataflows centralize reusable preparation; Dataflow Gen1 and Fabric Dataflow Gen2 have different capabilities and prerequisites.

Incremental refresh partitions historical and recent data. Configure RangeStart and RangeEnd as Date/Time parameters, filter the fact date with an inclusive start and exclusive end, then set a table refresh policy. Support depends on the source and configuration. A small file exercise cannot demonstrate production partition refresh.

Do it step by step

For an approved SQL source, apply an early date filter and inspect folding indicators or View Native Query where supported. Record the source query and a refresh duration. Create RangeStart/RangeEnd, filter OrderDateTime >= RangeStart and < RangeEnd, and configure Incremental refresh on the table. Publish only to a training workspace, run refresh and inspect history. In a permitted Fabric workspace, create a dataflow and document destination and owner.

Check your result

Why must adjacent refresh windows avoid including the same boundary twice?

If something goes wrong

A disabled View Native Query alone does not prove all folding is absent. Use supported diagnostics. Do not promise faster refresh without measuring.

Practice data and learning method

Industry practice collection: downloadable retail, finance, HR and operations datasets, dictionaries, full walkthroughs and answer sheets. The cases contain multiple years, multiple related tables, deliberate data defects and known-answer checks. Progress from the small foundation files below to these cases; do not reuse the foundation totals for the larger datasets.

Download Sales.csv, Products.csv, and the dataset guide. These files contain synthetic training data, not real customers. Use the Power BI virtual labs for guided browser practice. Each lab states its supported operations. Then repeat the procedure above in the actual Microsoft tools and save evidence of your result. Try another filter or an intentionally incorrect setting and explain what changed before moving on.

Guided practicals for this topic

Use the real-tool procedure above and the related case walkthroughs in the industry practice collection. This topic is not represented as a full browser simulation.

Continue learning from Microsoft

Power BI documentation · DAX reference · Power Query M reference · Power BI analyst skills map. Features, licensing, menus and availability can change; check the relevant official page for your environment.

Create a free account to track your progress and unlock virtual labs.