Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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?
User | Count |
---|---|
66 | |
60 | |
47 | |
33 | |
32 |
User | Count |
---|---|
86 | |
75 | |
56 | |
50 | |
45 |