Power BI Data Analyst PL-300 · Prepare the Data · hard

You are optimizing a Power Query pipeline against an Azure SQL Database source. Which two actions preserve Query Folding so transformations execute inside the SQL database engine rather than in local Power BI mashup memory? (Select two.)

Published · Last updated · checked before publication — how we verify questions

Options

  • APerform row filters, column renames, and SQL-compatible joins as early stepsCorrect answer
  • BAdd an Index Column as the very first step immediately after Source
  • CConvert all numeric columns to formatted text strings using M custom functions
  • DRight-click the last applied step and confirm 'View Native Query' is enabledCorrect answer

Answers: A. Perform row filters, column renames, and SQL-compatible joins as early steps; D. Right-click the last applied step and confirm 'View Native Query' is enabled

Filtering rows, renaming columns, and performing standard SQL-compatible joins/aggregations before any non-foldable M functions allows Power Query to translate steps into a single native SELECT ... WHERE ... statement (A), and right-clicking the final applied step to verify that 'View Native Query' is enabled confirms Query Folding is active (D).

Why the other options are wrong

  • B. Add an Index Column as the very first step immediately after Source — Adding a Power Query Index Column frequently breaks Query Folding for all subsequent steps against relational sources.
  • C. Convert all numeric columns to formatted text strings using M custom functions — Custom M text-formatting functions cannot be translated into native SQL and stop Query Folding.

All Prepare the Data questions and the topic overview →

Microsoft and Azure are trademarks of Microsoft Corporation. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Microsoft Corporation.