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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.