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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.