Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
I have a direct query connection to a SQL server database and have created the relationships and some reports against it. I now want to use this same model (same table names and relationships) and report visuals but connected to a different SQL server database. Is it possible to export/import the schema (not the data) from one database to another?
That's not really a Power BI question. In SSMS you can generate the required scripts on the source server and then run them on the destination server.
Word of caution: When you change a data source in Power Query there is a non-zero chance that all subsequent ETL steps will disappear, that measures and groups will go poof, that visuals will break, or all of the above. Always, always have a backup before you attempt that.
I think it is a Power BI question. I have two SQL server databases with the same schema (but not the same data) that sit in SSMS, say DB1 and DB2. When I create a new report in Power BI, I am doing a direct query connection to the first database DB1 and I have loaded the chosen tables, managed the relationships and built some widgets on the report.
Now I want to create a new report but this time doing a direct query connection to DB2, but I don't want to have to build it all again. I wanted the exact same schema, relationships and widgets but pointing to DB2 instead of DB1 so I can make comparisons on the data
You can duplicate the power query queries and modify the source step to point to DB2.
Have you considered deployment pipelines?
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 44 | |
| 42 | |
| 40 | |
| 39 |