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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Bing maps API

Hello,


I am wanting to use the Bing maps API to calculate travel distance between two postcodes in the United Kingdom. I only have the first part of the postcode.  An exampe of some postcodes are below. The left hand address is waypoint 1 and the second is waypoint 2

 

reidnmorrison_0-1681831103261.png

After invoking the custom function that calls on the API I get the following

reidnmorrison_1-1681831134953.png

Whilst this works most of the time, there are is the odd postcode that throws up an error (in the example above EX11 returns an error whereas EX10 is fine). Does anyone have an explaination for this and any potential solutions?

 

Thanks in advance

 

2 REPLIES 2
Anonymous
Not applicable

I get the following message

reidnmorrison_0-1681975172115.png

 

v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

What error does it report? Can you show the error message? 

 

Best Regards,
Community Support Team _ Jing

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.