Forum Discussion

nsundararajan's avatar
10 years ago

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

 

17 Replies

    • JediMole's avatar
      JediMole
      Icon for Helper II rankHelper II

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

  • 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.

     

    • pdowninghpn's avatar
      pdowninghpn
      Frequent Visitor

      Creative solution. Thanks for your recommnedation. 

       

  • Greg_Deckler's avatar
    Greg_Deckler
    Icon for Community Champion rankCommunity Champion

    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.

    • nsundararajan's avatar
      nsundararajan
      Icon for Helper I rankHelper I

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

      • Sean's avatar
        Sean
        Icon for Community Champion rankCommunity Champion

        nsundararajan Seem you have to categorize it as country

        Look at the pictures - shows as country not as state

        EDIT: Try concatenating State, Country

         

  • asocorro's avatar
    asocorro
    Icon for Skilled Sharer rankSkilled 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.

    • RazaviSD's avatar
      RazaviSD
      New Member

      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?

  • pdowninghpn's avatar
    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.

     

    • Greg_Deckler's avatar
      Greg_Deckler
      Icon for Community Champion rankCommunity Champion

      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?

      • pdowninghpn's avatar
        pdowninghpn
        Frequent Visitor

        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.