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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Andwu
Helper I
Helper I

Create a custom Shape map

Hi,

 

I have a file containing the mapping us postal codes --> internally defined territories --> internally defined Regions.
Our data is provided on the territory level and I'd like to show the data on region level with the possibility to drill down on territory level. Thus I need a shape map containing our definition of territories and regions. Is there a smart way how to create this type of map based on the data I have, where I can say, e.g. postal codes 90002 - 90312, 97005 - 97338 --> Territory WestCoast?

 

Thanks a lot,

 

Andre

4 REPLIES 4
mjfulke
Microsoft Employee
Microsoft Employee

Check out this tutorial on creating your own custom shape maps for Power BI.   Create Your Own Custom Shape Map

v-ljerr-msft
Microsoft Employee
Microsoft Employee

@Andwu


I have a file containing the mapping us postal codes --> internally defined territories --> internally defined Regions.
Our data is provided on the territory level and I'd like to show the data on region level with the possibility to drill down on territory level. Thus I need a shape map containing our definition of territories and regions.


You can create a hierarchy like Regions-->Territories-->Postal Codes first, then show the created hierarchy in the Map. So that you should be able to drill down from Regions to Territories, and to Postal Codes in the Map.

 

The sample below is for your reference.

 

The hierarchy(Country-->State-->Zip) I created.

h.PNG

Show the hierarchy in Map.

m.PNG

Drill down from Country to State, and to Zip.

d1.PNGd2.PNG

Regards

Hi,

 

I tried it, however this seems to be working only, if the different hierarchy levels are itself locations, e.g. Country - State - City. However in my data the Regions are defined from R1 - R5, the Territories as R1001 - R5999. Only the ZIP codes are correct and know locations.

@Andwu

 

Yes, if we want something shown in the map, it must be a known location which can be recognized by the map.

 

Regards

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors