Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi all. First time posting a question.
I have a JSON map where I am trying to use fips to identify US Counties (County name is no good because of all of the duplicates, and even County Name - State isnt working).
When I use the fips as-is, they are formated as a number, which drops the leading zero and gives my blank states (below):
However... if I do a format([zip],"00000") it looks great, but it converts to text. Ironically, the ones with the leading zeroes work, but the straight numerical ones disappear (below):
So... I'm at a loss... If I do text, I get my leading zeroes and nothing else. If I do number, I get those, but not the leading zeroes.
Would love to know if someone has experience with this and what workaround they have come up with...
Here's the map I used btw: https://eric.clst.org/tech/usgeojson/
Hi @nyiballs ,
Did you set the data category to Postal zip?
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Generally at least in the default map visuals if you keep your zip code from being converted to numeric in Power Query and thus preserve the leading zeros and you flag that field as a Postal Code then it all works.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!