I built a Power Query Source = sql.databases("SERVERNAME"). It returns all DBs on the server, and all DBs share an idential schema. I filter & expand to get the same table across all DBs, and see all checked out files. This works great in PBI desktop, and I can publish the report without issue.
When I go to add the gateway connection, I'm forced to select a single DB on the server, and I cannot map the connection between my data source, and the gateway. I've tried using "*"," ","master","null", and other combos, but nothing works. Is this possible? Screenshots attached...
Thanks in advance!
4 Comments
- AnonymousNot applicable
Hi Samson217
You mentioned "I'm forced to select a single DB on the server, and I cannot map the connection between my data source" , can you explain it in detail ? From the first screenshot , the second data source corresponds to having an add to gateway , you can add the corresponding data source through this .
Best Regards,
Community Support Team _ Ailsa Tao - Samson217New Member
Thanks Anonymous for following up. My PBI desktop SQL datasource connects to the SQL server, without specifying a specific DB (I want to get the same table from 10+ idential DBs). However I cannot create a gateway connection without specifing a DB on the server (screenshot 2). If I do specify a DB during gateway connection setup, I cannot map my datasource to the connection (screenshot 1). What I really need is for the DB name on the gateway connection setup to be optional.
- MComminsALCNew Member
I have a very similar setup and problem where the query includes more than one database on the same server, but only one database can be entered in the connection setup. Was a solution found?
- jferFrequent Visitor
Is there any solution for this?