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
Hi everyone,
My problem is I have SQL subquery imported into Power BI to load data and also created a Database parameter so users can easily change the data sources whenever they want to change the Server name and database name.
In the Power Query, I see that "Sql.Database (Server, Database, [Query=" can not add more database which I have used in the sub-query! I can not find a way to config this. Does anyone have way to fix this parameter or the Power Query!
Thanks in Advance
Solved! Go to Solution.
You cannot dynamically change the server name. You can run native queries that swap out the database name if the database is on the same server and you have access to both databases.
It is possible to change the server name via parameters in the service, or as part of deployment pipelines.
You cannot dynamically change the server name. You can run native queries that swap out the database name if the database is on the same server and you have access to both databases.
It is possible to change the server name via parameters in the service, or as part of deployment pipelines.
Thanks! I'll try this way to set up for my report
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 27 | |
| 26 | |
| 25 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 43 | |
| 39 | |
| 37 |