Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
We are facing an issue where our Power BI report in the Test workspace is connecting to the development SQL Server database instead of the intended test SQL Server database. We deploying report from Development to Test workspace by using the deployment pipeline. We provide the Test datasource detail in deployment rules as well.
Specifically, we suspect that the connection information (including the database name and credentials) might be stored within the Power BI report itself, particularly as we are using DirectQuery mode or Import mode with a gateway.
Could someone advise on how to ensure that the Power BI report correctly connects to the test SQL Server database when we using we are using DirectQuery mode or Import mode for the data load?
Thank you.
Solved! Go to Solution.
Hi @Anonymous
Using the deployment rules should change your data source connexions as long as there are the valid parameters in your PBI file. If it is not correct, I would suggest using the XMLA endpoint to validate that is using a valid data source.
Hi @Anonymous
Using the deployment rules should change your data source connexions as long as there are the valid parameters in your PBI file. If it is not correct, I would suggest using the XMLA endpoint to validate that is using a valid data source.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 9 | |
| 8 | |
| 8 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 37 | |
| 29 | |
| 26 | |
| 19 | |
| 19 |