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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
PremK
Helper II
Helper II

Gateway - MS SQL Server ( On-Premises )

Im using MS SQL Server as Data Base, which is on-premises server.

I had build a report in Power BI using this Data base.  

To refresh this data set in PBI Service,  Is it possible to connect this data base using PBI's inbuilt cloud gateway connection OR do i need to install  On-Premises gateway in the local machine were  MS SQL Server hosted ??

8 REPLIES 8
v-linhuizh-msft
Community Support
Community Support

Thanks for the reply from AnkitKukreja ,R1k91 and sergej_og.

 

Hi @PremK , 

 

 May I ask if you have gotten this issue resolved? If it is solved, please mark the valid suggestions provided by other users as solutions or share your solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster . Thank you very much for your kind cooperation!

 

Best Regards,
Zhu

AnkitKukreja
Super User
Super User

Hi! @PremK 

 

The best practice is to have your GW on a virtual machine so it keeps on running, having it on your machine means, it stops working once you log off and this will lead to failure in data refreshes.

 

 

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904
https://topmate.io/ankit_kukreja

you mean to say i need to install GW in the VM were the MS SQL Server is insatlled, right ?

 

No, pls don't do it this way!
Use one stand-alone VM, only for your GW client.
This VM (with your GW) should then has FW-rule to be able to connect to your SQL Server.

Pls don't use GW on the same VM where SQL Server is stored.

Regards 

Can you pls give some more details about this. 

what is FW-rule and what do you mention as standalone Virtual Machine, and even if i setup this separate VM, how it could connect with SQL Server and PBI. 

 

Can you explain these pls.

R1k91
Solution Supplier
Solution Supplier

are you the very first one in your company leveraging power bi report based on on-premises source? I'd ask internally if there's already a gateway installed and configured you can use.
in that case you only need to add the data source to that gateway... or maybe it already exists and it must shared with you.


--
Riccardo Perico
BI & Power BI Engineer @ Lucient Italia

Blog | GitHub

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

Hi! @PremK 

 

Once you have a separate VM you have to open the ports and make sure IP of both VMs can interact with one another, for detailed setup you might have to go through the documentation.

https://learn.microsoft.com/en-us/data-integration/gateway/service-gateway-install

https://learn.microsoft.com/en-us/power-bi/connect-data/service-gateway-onprem
https://learn.microsoft.com/en-us/data-integration/gateway/service-gateway-app

 

 

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904
https://topmate.io/ankit_kukreja

@PremK 

Yes that's the best approach. 

 

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904
https://topmate.io/ankit_kukreja

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.