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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
deepali_garg
Frequent Visitor

Filled Map not working properly

Hi All, 
I have a dim table with state , county and zip code in it.
When I am maping with Florida as a State and Washington as County., the map works properly and gives correct result whereas provides incorrect result for New Jersey for any county selected.

Data Category for State is State and County is County and Zipcode as Zipcode

Florida state data

 

deepali_garg_2-1641289099352.png

For New Jersey, no data is populating.

deepali_garg_3-1641289180136.png

 

Thank You, 
Deepali

1 ACCEPTED SOLUTION

@deepali_garg OK, well then the problem is in your data, it has truncated zip codes. So, one way to solve this would be to create a new DAX column like:

zip_code = FORMAT(INT([zip_cd]),"00000")


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

6 REPLIES 6
Greg_Deckler
Community Champion
Community Champion

@deepali_garg Any chance you can share sample data to recreate this? As text.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler 

 

Sharing sample data 

 

statecntyzip_cd
FloridaEscambia32505
FloridaEscambia32577
FloridaEscambia32507
FloridaEscambia32523
FloridaEscambia32533
FloridaEscambia32503
FloridaWashington36529
FloridaWashington32420
FloridaWashington32427
FloridaWashington32431
FloridaWashington32462
FloridaWashington32463
KentuckyWashington40040
KentuckyWashington40061
KentuckyMercer40078
New JerseyCamden8002
New JerseyCamden8003
New JerseyCamden8004
New JerseyCamden8007
New JerseyCamden8009
New JerseyCamden8018
New JerseyCamden8012
New JerseyCamden8021
New JerseyCumberland8318
New JerseyCumberland8320
New JerseyCumberland8321
New JerseyCumberland8323
New JerseyCumberland8324
New JerseyCumberland8327
New JerseyCumberland8329
New JerseyCumberland8332
New JerseyCumberland8345

@deepali_garg I could be mistaken but I'm betting the issue is that you need zero-padded zip codes like 08320. Could be an issue on import in that you need to override the default Change Type step in your query and instead of using numeric value go with Text, which will preserve the zero padding for your zip codes.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler ,

Zip code is saved in Text format only. Will this help or do i need to perform some other step.

@deepali_garg OK, well then the problem is in your data, it has truncated zip codes. So, one way to solve this would be to create a new DAX column like:

zip_code = FORMAT(INT([zip_cd]),"00000")


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thank you @Greg_Deckler . This one helped me and resolved my issue. 

Have a great day ! 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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