Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 17927

Import pbix with choosing an enterprise gateway

$
0
0

Hello everyone,

I have an analysis services data source, working with enterprise gateway. I want to write a code that will import a load of pbix files into a specific group, without any additional effort in app.powerbi.com from the user.

So I use the url https://api.powerbi.com/v1.0/myorg/groups/{groupid}/imports, and it imports files fine. The reports and datasets are created.
But when I open any report, it shows me the message
"Report could not access the data source because you have to select which gateway you would like to use". 
After I choose the gateway, it works fine.

My question is: can I specify it in my code also? So that when I open the report, it already knows which gateway to use?

Any advice will be much appreciated


Viewing all articles
Browse latest Browse all 17927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>