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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
DionTN
Helper II
Helper II

API request from BI report

I want to integrate an API with my own data as input. 

DionTN_0-1660786163997.png

 

I have this table and this API: 

https://api.flightstats.com/flex/flightstatus/rest/v2/json/flight/status/{vluchtnummer1}/{vluchtnumm...

 

How can i use the input of my day filter in this API and run this API for each row in the table?

 

 

3 REPLIES 3
KNP
Super User
Super User

Hi @DionTN,

 

Which API are you trying to use?

KNP_0-1660875648065.png

 

 

Would be helpful if you could post some of the Power Query code you have so far.

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!
jbwtp
Memorable Member
Memorable Member

Hi @DionTN,

 

You can do this using something like Web.Content(), but this needs to be done in Power Query editor (on your screeshot you showing a visual in the report, so you may be thinking about DAX?). In PQ editor you can use Add Column to call API on each row. However, as @Daryl-Lynch-Bzy said, you will need to find the API call details from the API vendor/support.

 

Kind regards,

John

   

Daryl-Lynch-Bzy
Community Champion
Community Champion

Hi @DionTN - I am sorry but I don't think this community can help because your query is more specifically related to the api instruction.  Please refer to the API Developer instruction provided by FlightStats.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.