This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi All
I have 15 reports and each report contains 5 tables. Also, I am 2 DBs in the SQL (DEV & UAT). For testing purpose, I want to connect all PowerBI reports with UAT and later on will change with "DEV" DB.
So, for this, I have created 1 table in SQL where I am storing what is current DB should active for all report. However, I am not able to pass this "DB Name" as parameter in DB connection.
Please suggest, how I can achieve this.
Kind Regards
Ashwani
Solved! Go to Solution.
Hi @Anonymous ,
You could try to create parameters to connect to the data sources.
1. Create in Query Editor
In Query Editor
2. When connect to SQL Server, change text to parameters.
Connect to SQL Server
3. When you want to change database, choose to edit parameters.
In Query Editor
In report view
For more details, you could reference the blog :
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Kudos are nice too.
Hi @Anonymous ,
You could try to create parameters to connect to the data sources.
1. Create in Query Editor
In Query Editor
2. When connect to SQL Server, change text to parameters.
Connect to SQL Server
3. When you want to change database, choose to edit parameters.
In Query Editor
In report view
For more details, you could reference the blog :
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Kudos are nice too.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 25 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 67 | |
| 36 | |
| 32 | |
| 25 | |
| 23 |