cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PowBI_USER_2020
Helper II
Helper II

During refresh on PBI Service, Post Query passed as Get

Hello Everyone,

 

I am using Apis to fetch data into the PowerBi, the query works perfectly in PBI Desktop. Refresh is also working fine. But the same query in PBI Service is not working when making the refresh. 

 

I checked the Fiddler, its show as "Get" not supported for this request.  I am facing this problem only in PBI Service refresh.

 

Is there any workaround for this problem? Thanks in advance.  

 

 

2 REPLIES 2
GilbertQ
Super User
Super User

Hi there

If you could send more details on how you are querying the API?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Hi @GilbertQ,

 

Here is the Post Query code. I have tried with "RelativePath" also, but both not working in PBI Service.    

 

let

url = "http://localhost:8100/api/v1/Cubes('cubename')/Views('Sample')/tm1.Execute?$expand=Axes($expand=Hierarchies($select=Name),Tuples($expand=Members($select=Attributes/L01))),Cells($select=Value)",
body = "{

}",
Source = Json.Document(Web.Contents(url, [Headers=[#"Authorization"="xxxxxxxx", #"Content-Type"="application/json"], Content = Text.ToBinary(body)
])),

in 

Source

 

Any Workaround for this? 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!

Top Kudoed Authors