Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I need someone's help. Present I have connected to Dev database. In power query editor I have created two parameters. One parameter for server name and another parameter for database name. After close and apply . Before publishing the report to power bi service. Do we need to map the parameters in datasource settings?
Is it fine without mapping the parameters in datasource and directly publishing the dataset to workspace. In workspace only if we change the parameters to test server . Is it fine ?
Solved! Go to Solution.
Hi @muktapurc - Yes you are correct, No need to mapping the parameters in datasource. Pls follow below steps.
I hope this works for you. Thanks!
Thank you
Hi @muktapurc - Yes you are correct, No need to mapping the parameters in datasource. Pls follow below steps.
I hope this works for you. Thanks!
Hi @muktapurc - Yes, it's fine to directly publish the dataset without mapping the parameters in data source settings in Power BI Desktop. After publishing to the Service, you can change the parameters to the Test server, and it should work, provided your gateway and credentials are correctly configured.
Keepinmind: When working with parameters for server name and database name in Power BI, the workflow and considerations for publishing to the Power BI Service depend on how you've set things up.
sharing Reference links:
https://radacad.com/change-the-source-of-power-bi-datasets-dynamically-using-power-query-parameters
https://www.phdata.io/blog/how-to-parameterize-data-sources-power-bi/
Hope the above information helps.
Proud to be a Super User! | |
Thank you
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 90 | |
| 81 | |
| 66 | |
| 65 |