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
JohannSteyn
Frequent Visitor

Limit API call in power query to only call for new records

Hello all,

I connected a list of addresses to the Google Maps API which returns the LAT and LONG coordinates, via power query (nice video here: https://www.youtube.com/watch?v=xBF_ZaGW87k&t=16s).

However, each time I refresh the dataset, all addresses are re-queried. This is bad because 1- it takes long and 2- it costs me money.

So, I want to know if there is any way to limit the power query to only call the API if the address does not already have LAT and LONG coordinates from previous queries.

Here's screenshots of the two queries I use:
1. Query on the table that has the addresses: 

JohannSteyn_0-1669048821502.png

2. Query to Google Maps API: 

JohannSteyn_1-1669048878974.png

 



1 REPLY 1
v-cgao-msft
Community Support
Community Support

Hi @JohannSteyn ,

 

The first thing that comes to my mind is incremental refresh. Please see if these help:
incremental refresh with an API call in power quer...

Power BI Incremental Refresh with Web API Data Source

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

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.