The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi, could someone help me? I would like to connect to an SQL database, however, would I like to be able to change that database on the back end? Or instead of connecting to the bank indicating the bank name, connect using a connection string (from web.config). Any tips?
Is it possible for the same PowerBi to be used with more than one database? WebConfig bank.
Solved! Go to Solution.
Hi @GustavoSouza ,
1.You can try to create a parameter in Query Editor to solve your database name, when you connect to data source, just transfer the value in the parameter to connect
2.You can use more than one databases in the same power bi if the connection mode is Import or Direct Query.
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi @GustavoSouza ,
1.You can try to create a parameter in Query Editor to solve your database name, when you connect to data source, just transfer the value in the parameter to connect
2.You can use more than one databases in the same power bi if the connection mode is Import or Direct Query.
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi, thank you very much for responding. I haven't had time to test yet, but as soon as I get it, I'll leave feedback here.