cancel
Showing results for 
Search instead for 
Did you mean: 
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
Microsoft

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
Microsoft

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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors
Top Kudoed Authors