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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
PeKi1972
New Member

Is it possible to connect to a SQL Server database with Power BI services ?

Hi,

Correct me if i am wrong. But there are 2 sorts of Power BI: Power BI Desktop and Power BI services.

Is it possible to connect to a SQL Server database with Power BI services ?

 

Gr. Peter

1 ACCEPTED SOLUTION
collinq
Super User
Super User

HI @PeKi1972 ,

 

You are correct that there is Desktop and there is Service.  They both connect to almost all the same connections.  SQL is one that works in both.  

The normal process is that you create your report with the visuals and data connections in Desktop and then you publish to the Service.

Once in the Service, you will need to have a gateway setup to get to the SQL server if it is internal to your organization and not cloud based.  As a rule, you will want the gateway on a server of something that stays on most of the time and the gateway will be shared by numerous users through the data connections.  This article explains the gateways.

On-premises data gateway - Power BI | Microsoft Learn




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




View solution in original post

1 REPLY 1
collinq
Super User
Super User

HI @PeKi1972 ,

 

You are correct that there is Desktop and there is Service.  They both connect to almost all the same connections.  SQL is one that works in both.  

The normal process is that you create your report with the visuals and data connections in Desktop and then you publish to the Service.

Once in the Service, you will need to have a gateway setup to get to the SQL server if it is internal to your organization and not cloud based.  As a rule, you will want the gateway on a server of something that stays on most of the time and the gateway will be shared by numerous users through the data connections.  This article explains the gateways.

On-premises data gateway - Power BI | Microsoft Learn




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors