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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Resident Rockstar
Resident Rockstar

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors