Notifications
Clear all

Solution:

1 Posts
1 Users
0 Likes
326 Views
(@castilogonzalo)
Noble Member
Joined: 2 years ago
Posts: 663
Topic starter  

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?

  • A . Yes
  • B . No

Show Answer Hide Answer

Suggested Answer: A

Explanation:

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.

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

   
Quote

Latest Microsoft PL-300 Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: