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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
teatree
Frequent Visitor

Help with Power BI maps

Hi there,

 

I'm new to Power BI and I'm trying to plot some data onto a map of the UK.

 

I currently have the postcode/county/town and can convert these into longitude/latitude if required but I wanted to know how I can add all of this data into the map so that when I scroll into a specific area it then breaks down by specific location. 

 

Like, if I'm looking at the UK it will show me X amount in Y region but if I zoom in I'll be able to see X amount in Y town? 

 

Is this possible to do? 

1 ACCEPTED SOLUTION

@teatree

 

In this scenario, you can create a hierarchy and use the “Drill” function. Please refer to followings steps:

  1. Right click the highest level (e.g. Country) and click ‘New hierarchy’.
    1.png
  2. Select other columns with lower levels and click ‘Add to Country Hierarchy’.
    2.png
  3. Drag ‘Country Hierarchy’ to Location of Map chart. Turn on Drill Mode and then you can drill down by click a specific circle (area) it then breaks down by specific circles (location).
    3.png

View solution in original post

3 REPLIES 3
ankitpatira
Community Champion
Community Champion

@teatree In power bi maps does that for you. You have to ensure you declare columns in your table appropriately ie  proper Data Category under Modelling tab. Next when you plot these fields on map it automatically zooms into that area. If you have multiple countries it reposition itsef into center area where you can see all. Then you can decide to zoom in or out.

 

Capture.JPG

@ankitpatira

 

Thanks for responding. 

 

The data I have at the moment has already been categorised as below. 

 

PowerBILocation.JPG

 

On the map, it shows as below. 

 

UK.JPG

 

I would like to know if it's possible to have one circle with the value inside for the UK, and then when zooming in further it would break down in terms of hierarchy?

 

So, country -> region -> county -> local authority -> postcode

 

I hope this makes sense

 

Thank you

@teatree

 

In this scenario, you can create a hierarchy and use the “Drill” function. Please refer to followings steps:

  1. Right click the highest level (e.g. Country) and click ‘New hierarchy’.
    1.png
  2. Select other columns with lower levels and click ‘Add to Country Hierarchy’.
    2.png
  3. Drag ‘Country Hierarchy’ to Location of Map chart. Turn on Drill Mode and then you can drill down by click a specific circle (area) it then breaks down by specific circles (location).
    3.png

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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