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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Cristiano_Siben
New Member

Setting up a dataflow to SQL Server

Hello,

 

I am currently trying to set up a dataflow on my PowerBi Services account so that my dashboards can update automatically.

However, I am not being able to connect to the SQL Server to get the data for the dataflow.

 

I am using the same setup that I am using on Power BI Desktop, however the connection does not work on services.

Do I need to set up a gateway to do so? If so, can the gateway be installed on my personal computer or does it necessarily need to be installed on the maching that has the SQL database installed?

 

Any help is appreciated

1 REPLY 1
lbendlin
Super User
Super User

If your SQL Server is "on-premise" then you need a gateway.  You can choose to install a personal gateway on your PC but that would require your PC to be on during the refresh. You should NEVER install a gateway on the same server as your SQL Server database. The two applications will mercilessly fight for the compute resources. 

 

The recommended approach is to use two or more Windows Server VMs in your on-premise cloud and to create a cluster of Standard (Enterprise) gateways. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.