Forum Discussion
bjordan
4 years agoNew Member
Query that hit multiple DBs
Hi Everyone, I am new to Power BI and I am handling the administration of the Gateway online. We created data sources by connecting to a DB in our Data Warehouse and we were able to geenrate sim...
- Anonymous4 years ago
Hi bjordan , The datasource detail of the gateway connection should match what you have in Power BI Desktop. Only the username and password can differ. If you are querying two databases in one sql query, you should ensure that the user you use to create the gateway connection has access to both databases.
Tutu_in_YYC
4 years agoSuper User
In Power BI, you can only connect to 1 data source in 1 query at a time. But you can create a query that connects to multiple queries with different data source each.
As long as you set the new datasource in the gateway, it should work.