1. longitude =
    2. // 经度
    3. SWITCH(TRUE(),
    4. ISINSCOPE('erp_district'[district_name]), AVERAGE('erp_district'[longitude]),
    5. ISINSCOPE('erp_region'[biz_area_name]), AVERAGE('erp_region'[longitude]),
    6. AVERAGE('erp_community'[longitude])
    7. )
    latitude = 
    // 纬度
    SWITCH(TRUE(),
        ISINSCOPE('erp_district'[district_name]), AVERAGE('erp_district'[latitude]),
        ISINSCOPE('erp_region'[biz_area_name]), AVERAGE('erp_region'[latitude]),
        AVERAGE('erp_community'[latitude])
    )