Forum Discussion

dwh's avatar
dwh
Helper II
4 years ago
Solved

Mixed Mode And Rest Api

Hello everyone,
I have two problems to solve and kindly ask for your help.
I have a model consisting of 3 data sources:
- mysql (import mode)
- postgresql (Direct Query mode)
- Api Rest to retrieve information on data refresh
Now! My first problem is mixed mode mapping. I have added the Postegresql and Mysql connection on the gateway and everything works. But when I go to set the gateway on the report connection it gives me the following error

 

 

I can't map to data sources.

The second problem is how to map the rest api queries.
This is:
https://api.powerbi.com/v1.0/myorg/datasets/.......id......../refreshes

Can anyone explain to me why?
Can't I set mixed mode on the same Gateway?
I state that the rest Api are not bothering because I tried to remove them and they do not map anyway.
On the other hand, if I publish the report with single connections, everything works.
Thanks everyone for the help

3 Replies

  • When you mix/merge on-premise and cloud data sources all data sources including the cloud data sources must be declared in the gateway. you also need to specifically tell the gateway that it can be used to refresh cloud data sources.