cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Choropleth using 3 digit US zip code

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
Highlighted
Community Support
Community Support

Re: Choropleth using 3 digit US zip code

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.
Highlighted
Frequent Visitor

Re: Choropleth using 3 digit US zip code

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

Highlighted
Community Support
Community Support

Re: Choropleth using 3 digit US zip code

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

August Community Highlights

Check out a full recap of the month!

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

Top Solution Authors