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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
MarkWalsh
Regular Visitor

Changing SQL data source

I currently have a basic report which contains some visuals. 

 

This pulls data from my production database.  Is it possible to use the same PBIX file but change the source connection? I have a development database and a quality database and ideally I'd like to be able to just repoint my PBIX report to these other databases.

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@MarkWalsh,

 

You may modify code in The Advanced Editor.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@MarkWalsh,

 

You may modify code in The Advanced Editor.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@MarkWalsh,

Assuming that your development and quality databases have the same schema and table names like you have in your production database, you can go Options and Settings --> Data Source Settings and then select Change Source to point it to your prefer database

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.