Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Igorpole
Helper I
Helper I

Gateway doesn't work without a database name

Hi!

 

My datasource is an on-prem SQL Server. In the PBI Desktop it's possible to leave the database name blank and to pull all the databases from the server. But when I go to the PBI Service I can't use the gateway as it requires the database name to work. Are there any workarounds how to make it work?

1 ACCEPTED SOLUTION

Hi,

 

There is no way. Every database you use, have to be added to the gateway in the service. Thats just how it works. Add or remove a gateway data source - Power BI | Microsoft Docs This link can walk you through how.

 

Thanks.

View solution in original post

4 REPLIES 4
v-xulin-mstf
Community Support
Community Support

Hi @Igorpole,

 

For SQL Server, you need provide the Server and Database.

And then you can add datasource in manage gateway.

Please refer:

https://docs.microsoft.com/en-us/power-bi/connect-data/service-gateway-data-sources

 

Best Regards,
Link

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

 

 

tchristy99
Helper II
Helper II

Hi,

 

The only reason that it doesn't require it in PBI Desktop is because it allows you to select it after you connect to the server. Our primary Data Source is also SQL Server and I have found now other way than to give the gateway the database as well.

Hi! And could you share this way? )

Hi,

 

There is no way. Every database you use, have to be added to the gateway in the service. Thats just how it works. Add or remove a gateway data source - Power BI | Microsoft Docs This link can walk you through how.

 

Thanks.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.