Forum Discussion

AU555's avatar
AU555
Icon for Helper I rankHelper I
5 years ago

Dynamic data sources in Power BI service - REST API

Hi all, 

I started to maintain one dashboard that I have not started creating... and I had to change all  paths to relative paths to enable refresh in PBI service. It works just fine, except for one query, not sure where this query comes from, there is not even any host path:

 

(Invoice as text) =>
let
Source = Json.Document(Web.Contents(Invoice & "?pagesize=1000",[Headers=[#"X-appSecretToken"=#"xxxxx", #"X-AgreementGrantToken"=#"Xxxxx", #"Content-Type"="application/json"]])),
lines = Source[lines],
#"Converted to Table" = Table.FromList(lines, Splitter.SplitByNothing(), null, null, ExtraValues.Error),

in
#"Converted to Table"

 

 

How do I change this to relative path, any ideas? 🙂 

3 Replies