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
Anonymous
Not applicable

Connecting data source to a SQL Server (VM)

Hello, currently doing manual extract from a Citrix virtual machine (where our MS SQL Server is installed) then get the extracted excel and upload to powerBI. Is there a chance that I can connect PowerBI dataflow directly to SQL Server that was installed in the virtual machine? If possible how? Thanks in advance!

 

xRTP_0-1669051484456.png

 

1 ACCEPTED SOLUTION

Hi , @Anonymous 

According to my understanding of Power BI, the gateway is a bridge to help the local data source and Power BI cloud data exchange (such as data refresh, data query loading), if you are using a local SQL Server data source, no matter where the data source base is, it is inevitable to use the gateway, this is the official document on the introduction and explanation of the gateway architecture, you can view the following if you are convenient:

On-premises data gateway - Power BI | Microsoft Learn

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

4 REPLIES 4
v-yueyunzh-msft
Community Support
Community Support

Hi , @Anonymous 

Hello, according to your description, your local Sql Server server is housed in a virtual machine, right?
For the cloud to connect to the virtual machine, the local SQL Server needs to download the gateway for data connection and delivery. In your screenshot you can see that your data gateway is None.
For data gateways, you can refer to:

Using an on-premises data gateway in Power Platform dataflows - Power Query | Microsoft Learn

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

Anonymous
Not applicable

I see, my organization doesnt allowed me to install this. Is there no other options? Thanks!

Hi , @Anonymous 

According to my understanding of Power BI, the gateway is a bridge to help the local data source and Power BI cloud data exchange (such as data refresh, data query loading), if you are using a local SQL Server data source, no matter where the data source base is, it is inevitable to use the gateway, this is the official document on the introduction and explanation of the gateway architecture, you can view the following if you are convenient:

On-premises data gateway - Power BI | Microsoft Learn

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Anonymous
Not applicable

I see so even local i need to use Data Gateway, alright i guess ill reach out to my colleagues and help me install this Data Gateway for Power BI. Thanks a lot!

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.