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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
hellodfkh
Frequent Visitor

PowerBI Gateway : SQL + VPN Source

Hi forum, 

 

I am developing a dashboard which will connect to a SQL Server which is further secured by access only through a Virtual Machine and a VPN. My end goal is to embed the report in a flask application and host it online for the public. Though I went through documentation and some posts on the forum but nothing clearly describes what to do when a VPN is present to access the database. 

I read the docs for PowerBI Data Gateway and I possibly see the following solution: 

- Installing PowerBI Desktop and Gateway on a Windows Virtual Machine which is on premises and has access to the database

- Connecting the PowerBI Gateway to the database 

- Publishing the Power BI report 

- Embedding the URL of the report in a flask application and hosting the flask application on a linux server

 

I wanted to know whether my direction is right or I am missing something in the whole picture. 

Help and feedback would be very highly appreciated.

4 REPLIES 4
GilbertQ
Super User
Super User

Hi @hellodfkh 

 

Yes that will work because as long as the Gateway can connect to you SQL Server it can also connect to the Power BI service allowing you to then refresh the data.





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

Proud to be a Super User!







Power BI Blog

Hey @hellodfkh ,

 

next to what @GilbertQ  already mentioned, keep in mind that you have to import the data to your Power BI semantic model, as direct query connection types are not supported by the "Publish to web" feature: https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-publish-to-web

 

Not sure, but it sounds a little bit awkward that you want to share data from server "secured" by vpn machine with the public internet.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Thank you so much @TomMartens @GilbertQ for the reply. In this case then, how do I make the dashboard live to the public? The scenario is that though the data is in secure environments, the analysis on top of the data has to be made public.

Hey @hellodfkh , 

 

if the requirement is to make the data public, there is no other way than "Publish to web."

This means you have to import the data from the SQL Server to your semantic model.

 

Unfortunately, I'm not able to help regarding the VPN.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors