Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi all,
I am facing with this scenario:Power BI report embedded in an application connected to SQL server using Gateway.
I want to use the same report (Report ID, Workspace ID) but change the data source dynamically
Each clients maintains a database with same schema.Each database is composed in this way Schema_1234_123456
We have a database that holds information regarding the list of database for the clients.
I want to pass in the databaseId through query paramenter from the report URL and the report should pick the right database using the databaseId and dynamically change the datasource. Is this possible?
Thank you for your time
Hi @Anonymous,
Thank you for your kind support.
In my scenario, each customer uses the same datasource, which is the "Test" database. However, they use different schemas that have the same tables with the same structure. For example:
Now, I want to pass only the information from Schema_1234_123456, which is used by Customer 1, and update the report. Is this possible?
If Customer 2 is using Schema_3333_444444, they should see the report updated with data from Schema_3333_444444.
Thank you,
Ana
Hi @AnaMariaDe ,
As far as I know, currently Power BI doesn't support dynamically changing the connected database. Because different people see different data sources and need different credentials, and Power BI is temporarily unable to automatically change credentials. I recommend that you create different reports and connect to different data sources.
Best regards,
Rimmon Li
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 9 | |
| 8 | |
| 8 |
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 20 | |
| 16 | |
| 15 |