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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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 ;).
chrome-9xf-Zagzel-B

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.
KIfp67uy-Sr
Proud to be a Super User!PBI-Super-User-Rank-30x30-1x
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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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