0
0
Power BIbi_tool~20 mins

Query folding in Power Query in Power BI - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Query Folding Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
What is Query Folding in Power Query?

Which of the following best describes query folding in Power Query?

AThe process where Power Query translates steps into native queries executed by the data source.
BA method to manually write SQL queries inside Power Query editor.
CA feature that automatically compresses data files before loading.
DA way to create visual reports directly from Power Query.
Attempts:
2 left
💡 Hint

Think about how Power Query optimizes data retrieval from the source.

📊 Formula Result
intermediate
2:00remaining
Identifying Query Folding Status

You apply a filter step in Power Query on a SQL Server table. Which option correctly shows how to check if query folding is still active?

ARight-click the last step and select 'View Native Query'.
BCheck the 'Applied Steps' pane for a green checkmark.
CLook for a 'Query Folding Enabled' message in the status bar.
DOpen the Advanced Editor and search for 'fold'.
Attempts:
2 left
💡 Hint

Power Query provides a direct way to see the native query generated.

Function Choice
advanced
2:00remaining
Which Power Query function breaks Query Folding?

Which of these Power Query functions will break query folding when applied?

ATable.Sort
BTable.SelectRows
CTable.RemoveColumns
DTable.TransformColumns with a custom M function
Attempts:
2 left
💡 Hint

Consider which function uses custom code that the data source cannot translate.

🎯 Scenario
advanced
2:00remaining
Optimizing Query Folding in a Complex Query

You have a Power Query that merges two large tables and then adds a custom column with a complex M expression. Which approach will best preserve query folding?

AAvoid merging and instead append the tables.
BPerform the merge first, then add the custom column in a separate step after loading.
CAdd the custom column inside the merge step using a native SQL query.
DAdd the custom column before merging the tables.
Attempts:
2 left
💡 Hint

Think about when custom M code breaks folding and how to isolate it.

data_analysis
expert
2:00remaining
Determining Query Folding Impact on Performance

You notice your Power Query refresh is slow. You suspect query folding is broken. Which of the following observations best indicates that query folding is not happening?

AThe query uses only built-in Power Query functions.
BThe data preview loads instantly but the final load is slow.
CThe query refresh time is much longer than expected and 'View Native Query' is disabled.
DThe data source is a local Excel file.
Attempts:
2 left
💡 Hint

Consider what disables the 'View Native Query' option and how it relates to performance.