cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
phillida
Frequent Visitor

Choropleth using 3 digit US zip code

Is there any mapping currently in Power BI that allows me to fill in color on a US map based on the first 3 digits of the zip code. I cannot use the zip code level as I get an error message telling me I have too many zip codes.

 

So for example, I would like to program my map to show light green for the value of 2 for any zip code that begins with "121". I would need to map different values for all the US.

 

Thanks!

 

Dave P

1 ACCEPTED SOLUTION

Hi @phillida,

 

The map visual doesn't support to display too much data. As the whole US contains too much zip code that the map can't display, it will throw this message:

 

w1.PNG

 

We need to apply filter to decrease map data each time. So in your scenario, one work around is to duplicate map visuals to several copies and apply different filters in each copy, makes sure we can see whole US zip code from those copies.

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-qiuyu-msft
Community Support
Community Support

Hi @phillida,

 

According to your description, you want to fill color for those location which has the same first 3 digits of the zip codes, right?

 

In your scenario, you can create a custom column to return first 3 digits of the zip codes like below:

First3Zip = left(Geo[Zip],3)

 

Then drag the Filled Map visual to the report, place this custom column in Legend property. You can go to Data Colors option to change prefer color. See:

 

q2.PNGq4.PNGq5.PNG

 

q6.PNG

 

Best Regards,
Qiuyun Yu

 

 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks  Qiuyun_Yu. You proposed solution would work for a few 3-digit areas but I believe this would still run into the 5000 limitation for doing the whole US. I unfortunately will need this for all US.

 

Dave

Hi @phillida,

 

The map visual doesn't support to display too much data. As the whole US contains too much zip code that the map can't display, it will throw this message:

 

w1.PNG

 

We need to apply filter to decrease map data each time. So in your scenario, one work around is to duplicate map visuals to several copies and apply different filters in each copy, makes sure we can see whole US zip code from those copies.

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors