cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
siacc Advocate I
Advocate I

Power BI Gateways with data from two different sources

Hi all,

suppose you had two report published on Power BI Service with data becoming from different databases.

So, the scenario on Power BI Service is the following:

 

1) There is a Report, we call it "Report 1", with data becoming from a database that we call it  "DB 1";

2) There is another Report, we call it "Report 2", with data becoming from a different database that we call it "DB 2".

 

If you install Power BI Gateway (Personal or Enterprise), what will be the behavior when you set the scheduled refresh?

 

Thank you in advance for your answers.

1 ACCEPTED SOLUTION

Accepted Solutions
Super User IV
Super User IV

Re: Power BI Gateways with data from two different sources

It will refresh the data. Should not matter that there are 2 databases involved. I have refreshed models from 5 or 6 different on-premises sources.


---------------------------------------

Not the Power BI thought police...

I have NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!
Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!

View solution in original post

7 REPLIES 7
Super User IV
Super User IV

Re: Power BI Gateways with data from two different sources

It will refresh the data. Should not matter that there are 2 databases involved. I have refreshed models from 5 or 6 different on-premises sources.


---------------------------------------

Not the Power BI thought police...

I have NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!
Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!

View solution in original post

perpor Helper V
Helper V

Re: Power BI Gateways with data from two different sources

ok, but only if the databases are on the same server, I suppose..

siacc Advocate I
Advocate I

Re: Power BI Gateways with data from two different sources

@Greg_Deckler: Have you also tried to refresh two or more reports with data becoming form databases located in different servers? I forgot to ask this question Smiley Wink

perpor Helper V
Helper V

Re: Power BI Gateways with data from two different sources

I can't do this because there is, apparently, a problem before, with the gateways.

(I have a Ticket open and many posts here, but without response at the moment)

For all the reports ponting to the second database, on the second server, PowerBI does not recognise the gateway, (the second gateway, on the second server, I suppose), you can find many post here without response...

For the reports pointing to the first database, on the first server, and with the first gateway, no problem.

jotaandres Helper I
Helper I

Re: Power BI Gateways with data from two different sources

Hi,

 

I have the same problem. I have a report which is pulling data from salesforce. It was refreshing fine (no need for a gateway). Then I had to add to the data model a custom table from an on_premise SQL server. Now the gatway (which s working for other reports pulling data only from the SQL server), doesn't appear as an option to chose to refresh the data.

 

According to the comments above, this is a gateway problem. It is suppoed to be used with only one server as a datasource? It doesn't make too much sense. Let's see what Microsoft has to say about it.

 

Jojrge

Highlighted
jotaandres Helper I
Helper I

Re: Power BI Gateways with data from two different sources

Hi,

 

I just finished another test, and apparently the gateway (on-premises) doesn't work for two databases on the same server. I might be doing something wrong but still it is not working. The work-around I discover is expailn below:

 

So I have DB1 and table1 and DB2 and table2. These DBs are in the same server (SQL server). So I'm bringing table1 from DB1 using the native power BI (Power Query type), apply the transformations and all I need. For table 2, what I do is to bring the tae via query using

 

select * from DB2.dbo.table2 and then apply all the tranaformations/filters I need.

 

Since the defult DB on the gateway configuration (which is needed) is DB1, now the gateway shows up when scheduling the refresh for this report.

 

If somebody has an advice on how to configure the gateway to accept data from mutliple databases in the same server please let me know.

 

Jorge

jotaandres Helper I
Helper I

Re: Power BI Gateways with data from two different sources

I found the answer to my problem trying to combine salesforce and an on-premise database.

 

"

Warning:

If one of your data sources requires OAuth authentication, you will not be able to configure it with the On-Premises Data Gateway. OAuth authentication is not currently supported with the On-Premises Data Gateway. You will need to remove the data source that requires OAuth authentication from Power BI Desktop in order to configured scheduled refresh.

"

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.