Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam PL-300 Topic 2 Question 69 Discussion

Actual exam question for Microsoft's PL-300 exam
Question #: 69
Topic #: 2
[All PL-300 Questions]

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen,

You create a parameter named DataSourceExcel that holds the file name and location of a Microsoft Excel data source.

You need to update the query to reference the parameter instead of multiple hard-coded copies of the location within each query definition.

Solution: In the Power Query M code, you replace references to the Excel file with DataSourceExcel.

Does this meet the goal?

Show Suggested Answer Hide Answer
Suggested Answer: A

Instead modify the source step of the queries to use DataSourceExcel as the file path.

Note: Parameterising a Data Source could be used in many different use cases. From connecting to different data sources defined in Query Parameters to load different combinations of columns.


https://www.biinsight.com/power-bi-desktop-query-parameters-part-1/

Contribute your Thoughts:

Rebbeca
2 days ago
Yep, that's the way to go! Replacing the hard-coded file location with a parameter makes the code much more flexible and maintainable.
upvoted 0 times
...

Save Cancel