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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

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