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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
SGR
New Member

Connect to DB with Gateway in Power BI

Hello.

 

I configured a gateway and it's showing under manage gateway options in powerBI app.

 

I already configured the Data Source and the test is working fine.

 

Now I want to import data from this data source/gateway to my power Bi online, so I can create reports.

 

I can't see any option to connect to this data source/gateway under Get Data -> Databases & more.

 

How can I connect to it?

 

2 ACCEPTED SOLUTIONS
KHorseman
Community Champion
Community Champion

The gateway is there merely to allow refresh after publishing. You should connect to the database by creating a report in the Power BI Desktop application. Your specific database won't show up as a menu item; you'll have to select SQL database as the data source and type in the name of the database.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

v-yuezhe-msft
Microsoft Employee
Microsoft Employee

Hi @SGR,

Adding to other post, in order to smooth the refresh process of your dataset in the future, please make sure server and database name completely match between Power BI Desktop and the data source within the on-premises data gateway.

In addition, you can follow the steps in this similar thread to connect to SQL Server database from Power BI Desktop.

Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
SGR
New Member

Thank you!

v-yuezhe-msft
Microsoft Employee
Microsoft Employee

Hi @SGR,

Adding to other post, in order to smooth the refresh process of your dataset in the future, please make sure server and database name completely match between Power BI Desktop and the data source within the on-premises data gateway.

In addition, you can follow the steps in this similar thread to connect to SQL Server database from Power BI Desktop.

Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
KHorseman
Community Champion
Community Champion

The gateway is there merely to allow refresh after publishing. You should connect to the database by creating a report in the Power BI Desktop application. Your specific database won't show up as a menu item; you'll have to select SQL database as the data source and type in the name of the database.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Kudoed Authors