Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello, guys. Here's the issue:
I have a database in a server where I have SQL server and MSSM installed, I don't have PowerBI Desktop installed in this server.
I'm working on my PowerBI desktop which is installed in my PC at home. I installed a gateway in the server I mentioned previously and what I want is: create a report in my local PC, publish on PowerBI service and then set the dataset to request the updates from the server. Is that possible? Because the scenario I find is that when I publish a report, it goes with the origin path that comes from my local database which is exactly what I don't want.
Solved! Go to Solution.
Your setup is not supported. Both your Power BI Desktop and the gateway must have direct line of sight to the on-premise data source.
I installed a gateway in the server I mentioned previously
Please do not install a gateway on a machine that is already running something else. Gateways need dedicated machines.
In your Power BI report connect to the SQL database on that SQL server (not to your local database). Then in the gateway cloud management interface create exactly the same connection. Then publish your report to the workspace and link the semantic model to the gateway. After that you can enable scheduled refreshes.
I cannot connect the SQL server from that server to my Powerbi desktop because I cannot open ports of the server to connect it to my local PowerBI Desktop.
Hi Charles,
I don't think It should be a complex setup, you don't need ot open the ports if you are using PowerBI on Server or Desktop. You jsut need to install the gateway. Gatway will automatically connect to powerbi Service using standard port 80. However if you are using Cloud Database then scenario is different.
Gatway will automatically connect to powerbi Service using standard port 80.
not for a long time. Nowadays everything is exclusively 443.
Ensure Gateway Installation and Configuration:
Create the Power BI Report:
Publish the Report to Power BI Service:
Configure the Dataset in Power BI Service:
Map Dataset to Gateway Data Source:
Again, what I just said above. What I did was take a backup from the server, restore it in MSSM, and connect it to my powerbi desktop. I cannot connect directly the database from the server because I had to open ports to do that and that's not a good solution for me.
Your setup is not supported. Both your Power BI Desktop and the gateway must have direct line of sight to the on-premise data source.
Be it using SQL Server, Mysql, Excel Sheet or Oracle Database, Process is simle. Here is my quick guide on How to Install and configure PowerBI Gateway