Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Map and midpoint help

all,

 wanting to find the midpoint between either two pins or the query of addresses.  can this be done?

  • Do you have the long / lat ? You could use:

    Mid = 
    
    DIVIDE(
       DIVIDE ( LAT1 + LAT2 , 2) 
       , 
       DIVIDE ( LON1 + LON2 , 2) 
    )

    Otherwise, no, not without custom code / R / PY.

    If you have addresses only, you could get the long lat with a geocoder, such as Bing or Google, but this often has cost and requires some Power Query

     

    Appreciate your Kudos
    Connect with me!

    Stay up to date on  
    Read my blogs on  

1 Reply

  • SteveCampbell's avatar
    SteveCampbell
    Memorable Member

    Do you have the long / lat ? You could use:

    Mid = 
    
    DIVIDE(
       DIVIDE ( LAT1 + LAT2 , 2) 
       , 
       DIVIDE ( LON1 + LON2 , 2) 
    )

    Otherwise, no, not without custom code / R / PY.

    If you have addresses only, you could get the long lat with a geocoder, such as Bing or Google, but this often has cost and requires some Power Query

     

    Appreciate your Kudos
    Connect with me!

    Stay up to date on  
    Read my blogs on