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: You modify the source step of the queries to use DataSourceExcel as the file
path.
Does this meet the goal?
Yes
Explanation:
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/

