Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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

Anonymous
Not applicable

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors