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
tomer
New Member

Connecting to sql server via Microsoft Gate way

Hay there

i installed on premises data gate way on my server

and set it up.

now i can see the connection on the Power BI but i dont understand how to connect the sql database

what didnt i do, or did wrong...?

GATE.JPGConnection.JPG

1 ACCEPTED SOLUTION
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@tomer @sehengratis,

You can connect to your SQL database from Power BI Desktop,  create reports in Power BI Desktop and after you publish reports from Power BI Desktop to Power BI Service, you are able  to use on-premises gateway to refresh your dataset in Service.

Regards,
Lydia

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

4 REPLIES 4
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@tomer @sehengratis,

You can connect to your SQL database from Power BI Desktop,  create reports in Power BI Desktop and after you publish reports from Power BI Desktop to Power BI Service, you are able  to use on-premises gateway to refresh your dataset in Service.

Regards,
Lydia

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.
Greg_Deckler
Super User
Super User

In general, if you have an on-premises data gateway and a local data source (like a local SQL Server), the connection information is in the PBIX file and the Service will recognize that it must get the data from a local source and use the gateway automagically.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Where can i find the PBIX file

I really dont know what should i do next,

where should i find the my server data on the POWER BI?

Same trouble. I didn`t find benefit response. Anyone can help us?

 

Thanks in advance.

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.

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.