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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Helper I
Helper I

Get data from API that uses a callbackurl

Hi everyone,


I am for the first time trying to get data from an API into Power BI Desktop using Advanced Editor to write the proper information in.


I can connect, get a list of reports but can't find out how to actually load a report in Power BI. The documentation of the API mentions this:

This method takes one or more reportIds and a callbackUrl. Because it can take a significant amount of
time to download the report information, this is an async call. The resulting data will be send via a POST
request to the supplied callbackUrl."


This is my M-code to fetch report 250:

url = "",
Source = Json.Document(Web.Contents(url,
Headers = [Authorization="Bearer " & "xxx",


I need to give a value to the callbackurl (xxx is a placeholder), but what? Or is this something that Power BI Desktop does not support?


I have a short line to the person that build the API and he mentioned he might add a API call to fetch one report at a time, not using a callbackurl. Is that a good solution for my scenario?


Thanks in advance! 

Helper I
Helper I


Helpful resources

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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


Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors
Top Kudoed Authors