Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Assume I already have pbix file using "Import Data" approach which is imported around 50 tables from Database 1. Now I want to change Data source of this pbix file to Database 2 which is exactly the same database schema.
I see one way to open Adance Editor each table to change the Source, this way works but I have to manually change Source 50 times for 50 tables. Is there any other approaches that I am able to change Source in one time for every tables.
Solved! Go to Solution.
The technique I know only works prospectively. It is explained by Chris Webb here, and involves declaring the elements of the data source as a separate M query: http://blog.crossjoin.co.uk/2015/11/09/avoiding-duplication-of-database-connection-information-in-po...
The technique I know only works prospectively. It is explained by Chris Webb here, and involves declaring the elements of the data source as a separate M query: http://blog.crossjoin.co.uk/2015/11/09/avoiding-duplication-of-database-connection-information-in-po...
@asocorro Hello,
I have pbix file sent by a colleague and I want to use the same pbix file including my colleagues template for my own data.How do I do this?
Kind regards
M
Hi, you would have to do a query-by-query analysis to see where the data for each table in the report is coming from and then replace those sources with yours. In Power BI, a report can get data from many sources at once (e.g., databases, Excel files, etc.).
Thank you. I guess its how to change the data source so it reads my own data
@asocorro This way does not work when we publish to PowerBI service and do data refreash over enterprise gateway.
What kind of error are you getting?
Awesome! Thanks a lot
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 85 | |
| 69 | |
| 38 | |
| 29 | |
| 27 |