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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
johnmelbourne
Helper V
Helper V

Connect to off-premises external vendor SQL database

Hi,

We have an external vendor providing a database solution and I want to connect to it via Power BI. Can someone direct me to some resources as I am having issues and most help refers to connecting to a SQL server on premises. 

The external vendor has installed an on-premises gateway, and that gateway is now enabled in my Power Bi service account.  

 

How do I connect to it?  I have the server name, database name and database login credentials. Now I just need to connect a report (either from the service or from desktop) to the data source.

 

Any ideas how this is done?

 

On reflection, I think what I need to do is get the external vendor to connect locally within its domain, then save a pbix, send it to me for upload to the service, then it may use the gateway to connect, and I can connect to the service datasource. Would that work?

 

 

gateway connection.PNGgatewaycluster.PNG

 

Thanks

John

 

7 REPLIES 7
lbendlin
Super User
Super User

how are you accessing that database now from your Power BI desktop?  Do you have a VPN tunnel into the vendor?

We are not accessing the vendors database at the moment at all. They send files / make files available for download.

I am guessing if they connect locally within their domain to the database, then send me the .pbix file via email, then I upload to the service, it will use the gateway to access the database referenced in the .pbix.

 

Do you think that will work?

 

This will leave you flying blind, and rather sooner than later will become a maintenance nightmare. I would try to find alternative arrangements.

@lbendlin Why do you say flying blind? If the vendor imports the data into a pbix and keeps relationships, then the vendor sends the pbix to us, then we rework the model to something efficient and publish to the service, which connects via the vendors gateway to the data source and refreshes the data, what is the issue here?

 

What is the 'maintenance nightmare?'.  I note the database structure is highly unlikely to change.

 

Can you elaborate?

 

 

 

Hi  @johnmelbourne ,

 

If you did so,you should first make sure that you have access to the data source provided by the vendor,then you  should also make sure that you can connect to the related gateway for refresh.Both the 2 steps may cause issues during maintenance.

 

Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!

 

 

Thanks, I already have a configrued gateway that is connecting to the external database. I think getting them to create a pbix locally and then me uploading to the service is the way forward.

 

Thanks

 

Hi @johnmelbourne ,

 

Yes,when you get the .pbix file,modify the data source credential,which should be same with the setting in gateway.See below:

Annotation 2020-07-13 171536.pngAnnotation 2020-07-13 171604.png

 

Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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