PL-300 · Get or connect to data
21 cards
Power Query Parameters
-
Quick check
A developer wants one sales report to return a different salesperson without rebuilding its query. What makes that possible?
AA second report with the same query and a different fixed value
A copied report can contain another fixed value, but it does not make the original query reusable through a parameter.
BA parameter that exists but is not referenced by the source query
An unreferenced parameter is detached from the source expression, so changing it cannot change the query result.
CA named parameter whose active value is referenced by the source query
Right. The parameter separates the adjustable salesperson value from the query design, and the query reference makes the value affect the returned data.
3 / 21
-
Quick check
You have a working salesperson SQL query and want to prepare it for parameterization. Which sequence gets it into Power Query Editor?
ACreate SalesPerson first, then use Close and Apply to connect
New parameter is created in Power Query Editor; Close and Apply returns to the report editor and does not establish this initial connection.
BUse Get data, connect to SQL Server, paste the query, then Edit
Right. This sequence establishes the SQL Server connection, submits the statement under Advanced options, previews the native query, and opens it in Power Query Editor.
COpen Edit parameters, enter a server name, and select Apply changes
Edit parameters changes an existing parameter value; it does not connect to SQL Server or submit the initial query.
6 / 21
-
Quick check
Which setup correctly creates the parameter used for salesperson values?
AManage parameters → New parameter → SalesPerson → Text → Any value
Right. New parameter defines SalesPerson with the Text type and Any value as its Suggested Values setting.
BEdit parameters → SalesPerson → Decimal Number → Any value
Edit parameters modifies an existing parameter, and Decimal Number is not the type used for this salesperson example.
CAdvanced options → SQL statement → SalesPerson → Date/Time
Advanced options accepts the native SQL statement; it is not the parameter-definition dialog, and Date/Time is not the required type.
9 / 21
-
Keep your progress in the app
That’s 3 of 7 quick checks. In the app they stay answered, and every lesson remembers where you left off.
-
Quick check
SalesPerson exists, but changing it does not affect Query1. What should the developer inspect first?
AWhether Close and Apply has renamed the SalesPerson parameter
Close and Apply returns the resulting data to the report editor; it does not rename the parameter.
BWhether Suggested Values changes from Any value to Text on every run
Any value and Text are two different settings that remain in place; swapping them per run is neither required nor the cause.
CWhether the query still holds a fixed value
Right. The source expression must replace the fixed value with an ampersand followed by SalesPerson before parameter changes can affect results.
12 / 21
-
Quick check
A new Current Value triggers a native database query permission warning. What resolves that warning?
ASelect Edit Permission and then Run
Right. Edit Permission followed by Run authorizes and executes the native database query.
BSelect Current Value again and then Refresh Preview
Changing or refreshing the value does not provide the explicit permission requested for native query execution.
CSelect New parameter and then Close and Apply
Creating another parameter does not authorize the existing native query, and Close and Apply serves a different stage of the workflow.
15 / 21
-
Quick check
A parameterized report currently returns one salesperson, and the developer needs to test another. Which action is complete?
AEnter a new Current Value, skip Apply changes, and simply close the editor
Skipping Apply changes omits the step that commits the replacement value in the report workflow.
BChange the parameter value, confirm it, and apply changes to the report
Right. This reuses the existing parameter and its binding, commits the new value with Apply changes, and executes the native query again when that is required.
CCreate a new SQL Server connection and delete the original query
The parameterized query already accepts a replacement input, so a new connection and deletion of the working query are unnecessary.
18 / 21
-
Quick check
Which implementation fully converts a fixed salesperson query into an adjustable one?
ACreate a Text parameter and reference it in the source query
Right. The parameter defines the adjustable input, and referencing it from the source expression, in place of the fixed value, makes that input control the returned data.
BCreate a Text parameter but leave the fixed SQL value unchanged
The unreferenced parameter cannot affect a source expression that still uses its fixed value.
CSelect Apply changes and remove the native SQL statement
Apply changes only commits edits, while removing the native SQL statement eliminates the query that should use the parameter.
21 / 21
-
7 quick checks · then the test
In the app, finishing the quick checks opens this lesson’s 10-question test, and the ones you miss come back exactly when you’re about to forget them.
The whole course, on your phone
Lessons you can read, audio you can listen to on the way to work, and practice that remembers what you got wrong.