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
Anonymous
Not applicable

Filled Map not mapping zip code with 0

Howdy!

 

So I have been able to successfully map most of data by zip code (see below) but the states of NH, VT, MA, ME, NJ are not mapping due to those zip codes beginning with a leading 0. Anyone know how I can get them to map on the default Filled Map?

 

gcwilliams07_0-1623006478914.png

gcwilliams07_1-1623006644381.png

 

5 REPLIES 5
Anonymous
Not applicable

Same issue. I set the column to text and the data catagory to zip with no dice.  

 

 

Capture1.PNG

Capture2.PNG

Anonymous
Not applicable

I changed my field to text and also identified the data as postal code, and my visual is still not mapping the east coast states. I saw online that Bing maps, which is what Power BI uses for the fill map, has issues with identifying zip codes that start with 0. 

v-yangliu-msft
Community Support
Community Support

Hi  @Anonymous  ,

You can change it like this:

1. Select the column you want to change.

2. Select Column tools.

3. Select Data category – Postal code.

v-yangliu-msft_0-1623404573242.png

This is the relevant document, hope to help you:

https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-map-tips-and-tricks

 

 

Best Regards,

Liu Yang

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

v-yangliu-msft
Community Support
Community Support

Hi  @Anonymous  ,

1. Have you set your column of zip codes to "postal codes" on the Modeling ribbon, under the Properties tab using the Data Category selector?  If not, you should do so as they will then display correctly.

2. Use the advance editor and changing the zipcode data type to "text".

 

This is the relevant document, hope to help you:

https://community.powerbi.com/t5/Desktop/Zip-Codes-that-start-with-0-0-is-not-Displaying/m-p/177478

https://community.powerbi.com/t5/Desktop/Zip-codes-from-database-do-not-map/m-p/15916

 

Best Regards,

Liu Yang

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

Anonymous
Not applicable

Where do you see the option to set them to "Postal Code"?

gcwilliams07_0-1623242547209.png

 

Both of the links you provided stated to change the field to text which I have done so and they still do not map those NE states I mentioned.

Helpful resources

Announcements
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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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