Quantcast
Channel: Service topics
Viewing all articles
Browse latest Browse all 61751

Api Rest Method Post Problems with de automatic update in the power bi service.

$
0
0

Hi guys, i have this problems.

 

in power bi desktop, i no have problems , but in the power bi services yes, when I want to have a scheduled update.

 

So in Desktop, a have this api key method post..

 

 

Advance editor:

 

let
fechaI = Date.ToText(DateTime.Date(DateTime.LocalNow()),"yyyy-MM-dd'T'HH:mm:ss"),
fechaT = Replacer.ReplaceText(fechaI,"T00:00:00","T23:59:59"),
url = "https:/api-url.....",
body = "{""apiKey"":""apikey....."", ""inicio"":"""&fechaI&""", ""termino"":"""&fechaT&""", ""identificador"": null}",
Source = Json.Document(Web.Contents(url,[ Headers =[#"Content-Type"="application/json"], Content = Text.ToBinary(body)])),

in

Source

 

Then, power bi forces me to put these accesses..

Web -> Anonymous -> Public.

 

1.png

 

So far no problem. In the Desktop Version.

Then I publish it in my workspace to schedule an update. And have this problem.

 

 

2.png

3.png

 

So in Power BI Desktop 0 Problems, in Services Problems.

This is my GateWay.

 

4.png

 

Help!!!!!


Viewing all articles
Browse latest Browse all 61751

Trending Articles



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