Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Anonymous
Not applicable

Power BI Report Still Connecting to Development SQL Server Instead of Test SQL Server

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.

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

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.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

1 REPLY 1
GilbertQ
Super User
Super User

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.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Solution Authors