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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

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 @Anonymous,

 

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 @Anonymous,

 

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

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 @Anonymous,

 

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.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors