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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.