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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Help Required with Plotting Airport Codes

Hi there, 

 

I am looking plot Airport IATA Codes (e..g LHR = London Heathrow, AMS = Amsterdam etc.) on a map in Power BI but am unable to get the software to recognise where/what these are and plot these.

 

Does anyone know a solution to this or have access to a public airport lookup table, that I could use to get country, city etc. from please?

 

Any pointers in the right direction would be appreciated from me

1 ACCEPTED SOLUTION
v-yilong-msft
Community Support
Community Support

Hi @Anonymous ,

I’d like to acknowledge the valuable input provided by @lbendlin . His initial ideas were instrumental in guiding my approach. However, I noticed that further details were needed to fully understand the issue.  

In my investigation, I took the following steps.

You can find public airport lookup tables that provide information about airport IATA codes, including their corresponding city, country, and coordinates. I think you can use OurAirports and  SkyVector, here is the link: ourairports.com and skyvector.com.

If you’re using the OurAirports data, you might need to perform some data transformations in Power Query (Power BI’s data preparation tool). Create an index column in Power Query, select the index column, and unpivot other columns.

vyilongmsft_0-1713772225672.pngvyilongmsft_1-1713772251063.png

vyilongmsft_2-1713772309826.png

Then you can drag the columns to visual to get what you want.

vyilongmsft_3-1713772411560.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
rachaelwalker
Resolver III
Resolver III

You can use https://aviationstack.com/ and use a free API to get airports. Here is an example of what the API will return

rachaelwalker_0-1729704618985.png

 

Once you have an API key (free is limited to 100 calls per month), you can use the web connector in power bi and plug in

https://api.aviationstack.com/v1/airports?access_key=INSERT YOUR KEY HERE

 

If you want to increase the number of returned results add &limit=5000 to the end

 

https://api.aviationstack.com/v1/airports?access_key=1234567abcd&limit=5000

v-yilong-msft
Community Support
Community Support

Hi @Anonymous ,

I’d like to acknowledge the valuable input provided by @lbendlin . His initial ideas were instrumental in guiding my approach. However, I noticed that further details were needed to fully understand the issue.  

In my investigation, I took the following steps.

You can find public airport lookup tables that provide information about airport IATA codes, including their corresponding city, country, and coordinates. I think you can use OurAirports and  SkyVector, here is the link: ourairports.com and skyvector.com.

If you’re using the OurAirports data, you might need to perform some data transformations in Power Query (Power BI’s data preparation tool). Create an index column in Power Query, select the index column, and unpivot other columns.

vyilongmsft_0-1713772225672.pngvyilongmsft_1-1713772251063.png

vyilongmsft_2-1713772309826.png

Then you can drag the columns to visual to get what you want.

vyilongmsft_3-1713772411560.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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