March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
36 | |
27 | |
19 | |
11 | |
8 |
User | Count |
---|---|
53 | |
43 | |
26 | |
12 | |
11 |