Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet 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
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 ??
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
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.
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.
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.
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
Yes that's the best approach.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
38 | |
27 | |
17 | |
17 | |
8 |
User | Count |
---|---|
45 | |
38 | |
34 | |
17 | |
16 |