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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
LeverPowerCLiff
Frequent Visitor

Show Total by Reference Layer Region in Azure Maps

Hi,
I have a list of data points with their longitude and latitude that I am plotting on an Azure map. There are hundreds of points (though the example only shows less for clarity) so I want to show them by region, so I found and imported a geoJSON file that I am applying as a reference layer. Can I show the sum of all points in a given region and colour code them?

 

LeverPowerCLiff_0-1729699861958.png

For example I want to show the points in Scotland summed together and colour code the regions by their value.

 

The regions show as orange as that is the colour I set as unmapped. 

 

I wanted to try to add a column for the region for each data point but I couldn't work out how to get the region of a point from the longitude and the latitude from the geoJSON file but I don't even know if this would be a fix.

 

Thank you for any help.

3 REPLIES 3
Anonymous
Not applicable

Hi @LeverPowerCLiff ,
Based on my testing, you can start by creating a region column based on latitude and longitude ranges

Region = 
SWITCH(
    TRUE(),
    'Table'[LATITUDE] >= 54.6333 && 'Table'[LATITUDE] <= 60.8607 && 'Table'[LONGITUDE] >= -7.5722 && 'Table'[LONGITUDE] <= -0.7889 , "Scotland",
    'Table'[LATITUDE] >= 49 && 'Table'[LATITUDE] <= 55 && 'Table'[LONGITUDE] >= -6 && 'Table'[LONGITUDE] <= 2, "England"
)

vheqmsft_0-1729742132352.png

Go to format visal ->filed map ->Color

vheqmsft_1-1729742208225.png

Set the size as value

vheqmsft_2-1729742278724.png

 

Best regards,
Albert He


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

 

 

I'm trying to use the regions in the reference layer that can be seen in the image above. For e.g. North West, Greater London, etc. not just the countries of the UK. 

Also with my number of points, I think simplyfying Scotland into a rectangle will cause issues with points allocated the wrong country.

 

 

Anonymous
Not applicable

Hi @LeverPowerCLiff ,
If you don't divide it in rectangles, you need to have the name of each location and a table of the corresponding areas, which can also be achieved by placing the name in the LOCATION box

Best regards,
Albert He


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors