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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
SunnyUbhie
Frequent Visitor

Display Data in a Filled Map by UK Counties Not Working

Hi,

 

I've got data for my organisation that I want to populate on a Filled Map.

I'm looking to map the data to their respective Counties, which I'm doing using our location's Postcodes and linking it with data retrieved from Doogal for supplementary information.

The key thing to note is that all my locations are in the UK.

 

The issue I have is that the map doesn't fill out the entire County correctly.

I've tried many different ways to get this to work, and each presents different problems.

 

1) Categorising a County as a County

While this works in most cases, there are situations where a County like Berkshire is pulling up somewhere in the US, which I don't want it to do. I even tried adding a suffix of ", UK" to each of my Counties, which did nothing.

SunnyUbhie_3-1733850493225.png

 

2) Using Latitude and Longitude

If I try using the Latitude and Longitude of my Postcodes, each County has a list of multiple different Latitude and Longitudes. This then causes a big problem because Power BI wants to aggregate them somehow, and no matter which way I do it (Min, Max, Avg, etc) it won't cover the entire area the County covers on the map.

SunnyUbhie_2-1733850466859.png=

 

Is there a way I can do this? It seems like something that should be doable, but I can't figure it out.

1 REPLY 1
pborah
Impactful Individual
Impactful Individual

Hi @SunnyUbhie filled maps never work properly in PowerBI (outside of US). It has always been an issue. Even if you used the Azure maps visual instead (which they have been pushing to BI developers fairly aggressively), the problem persists.

 

You're better off importing your own boundary files. I'd recommend KML format. While the official documentation may say Shape (.shp) file is supported, I wasn't able to import .shp files. You might find county boundary files in UK government's open data portal. All the best!

Helpful resources

Announcements