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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
nsundararajan
Helper I
Helper I

Fill Map Visualization (Puerto Rico )

Can some one help me, we have states, region combined in one of the column which has Continental US states and PR. When I select the Field and use it as Location in the Fill Map and change it  (State, Province) except Puerto Rico all states were recognized. Puerto Rico is filled in Brazil , South America.

 

If I add ", US" after all the values and change it to Country, Region Puerto Rico is recognized but not the states. 

 

I like to have this work correctly. Need some ideas or workarounds.

 

Thanks

Nathan

 

Tampa Power BI User Group Leader
17 REPLIES 17
ThaCarg
New Member

7 years later and this issue is still happening

 

 

And even two more years later its still happening... for me at least...

DarthMacGyver
New Member

I ran into this same issue with trying to get PR and USVI on the same map as the states.  My workaround consisted of the following:

 

  • Create 2 calculated columns converting my data from state abbreviations to full names
  • Categorize one column as states and the other as countries
  • I created 6 maps zoomed into respective areas (48 states, Alaska, Hawaii, DC, Puerto Rico, USVI)
  • Turned off auto zoom on each map
  • Set the Location variable for the lower 48, Alaska, and Hawaii maps to the calculated column categorized as State
  • Set the Location variable for PR and USVI maps to the calculated column categorized as Country
  • Moved maps to a fancy layout

 

I am now able to display highlighted maps for all states, PR, and USVI on the same report.

 

Map.png

Creative solution. Thanks for your recommnedation. 

 

pdowninghpn
Frequent Visitor

Is there a solution to this? All my data is U.S. data, which includes Puerto Rico (PR) as a state. When I do a filled map, how to I get PR to show up like any other state? Currently PR shows as a state in Brazil as stated in OP.

 

States.JPG

What does your data for Puerto Rico look like? Is it:

  • Puerto Rico
  • Puerto Rico (PR)
  • Puerto Rico, USA

?

 

Is this the ESRI map or the default filled map or something else?



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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

It's in the "State" field as 'PR', just like Texas is 'TX' and Massachusetss is 'MA'. There is no country code or data as it's all U.S. data/states. Example:

 

Address              City               State            Zip

1 Main St            Dallas           TX                11111

2 North Ave        Boston         MA               22222

3 Some Road      Guaynabo    PR                00969

 

It's the Filled map, selected from the Power BI visualizations.

Hmm, seems like the ESRI map has similar issues although it just fails to find the location when the column is marked as a State or Province. Bing maps recognizes "Puerto Rico" spelled out but only when the category is set to Country.

 

Interestingly, if you set it up this way:

  • TX, USA
  • MA, USA
  • Puerto Rico

And you set the category as "Place", then it works fine in the "Map" visual. Oddly, it also works in the Filled Map visual but does not actually fill in Puerto Rico, but if you hover over it you see your value. ESRI visual chokes on it.



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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...
asocorro
Skilled Sharer
Skilled Sharer

Being from Puerto Rico, I am aware of this problem.  There is also another situation, in which three southern towns ("counties") are not shown in a filled map.  I reported this sometime ago.

Connect with me in LinkedIn: https://pr.linkedin.com/in/adolfosocorro
Follow me on Twitter: https://twitter.com/AdolfoSocorro

This was a nightmare to figure out, and it worked in Excel so I am not sure if it will fully transfer over to PowerBI

 

You need to have 2 geospatial columns

 

Country     Province

 

 

You can then just put the first name of the municipality (IE Adjuntas, or Aguada) in the "Province" column

 

The only exception I found was "Santa Isabel" needs to be "Santa Isabel Municipio" 

 

Perhaps these are the fixes for the other southern towns?

Sean
Community Champion
Community Champion

Maps have lots of issues but slowly getting better hopefully... I agree!

 

http://community.powerbi.com/t5/Desktop/Stop-Map-from-zooming-out/m-p/24377#M7860

 

Greg_Deckler
Super User
Super User

This is probably not the issue, but hopefully in your data it is "Puerto Rico" and not "Pueto Rico". You will likely have more luck with this question on the Bing Maps forums because Power BI uses Bing Maps for geocoding.



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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Sorry for the spelling Mistake. It's Puerto Rico and the value we have is PR.

Tampa Power BI User Group Leader

@nsundararajan Seem you have to categorize it as country

Look at the pictures - shows as country not as state

PR- MAP.png

PR- MAP2.png

EDIT: Try concatenating State, Country

 

Sean
Community Champion
Community Champion

@nsundararajan Yes concatenation works as expected - but leave it Uncategorized

(this will mess up your legend though because it will be based on country now - don't know if it matters in your case)

PR- MAP3.png

If I do Country Region, then States like FL, TX won't work. My Requirements is we have Regions like FL , TX, GA , PR. 

I want all work together. If I select Country, Region then FL, TX, GA won't work. If I select State, Province PR is not working.

 

Tampa Power BI User Group Leader

You'll have to address this the PBI team and/or Bing.

 

PR- MAP4.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.