Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
danaleota1
Creator
Creator

how to switch geodata location when there are multiple locations with the same name

I'm trying to use the maps chart but the location is returning St. Petersburg, Russia instead of St. Petersburg, Florida.  How do I switch it to St Petersburg in Florida? Can this be corrected in the chart or does it have to done in the script editor? 

Thanks.  New to Qlik 

1 Solution

Accepted Solutions
lironbaram
Partner - Master III
Partner - Master III

hi 

it's should work , look at the definitions and the list of cities i used , you can see all are in the US 

Untitled.png

View solution in original post

4 Replies
lironbaram
Partner - Master III
Partner - Master III

hi 

in the layer properties , 

go to location part , change the "scope for location" to custom

in the country insert 'US'

danaleota1
Creator
Creator
Author

Location.PNGI tried custom scope and adding - 'US', 'USA', 'United States',  and 'United States of America' still won't budge.  

lironbaram
Partner - Master III
Partner - Master III

hi 

it's should work , look at the definitions and the list of cities i used , you can see all are in the US 

Untitled.png

danaleota1
Creator
Creator
Author

So I went into my master items for this dimension and changed the spelling from St Petersburg to Saint Petersburg  like  =IF(Capitalize(txtLocation)= 'St Petersburg', 'Saint Petersburg', txtLocation) ... how you spelled it out.  and did custom scope, country 'US' and that fixed it!?!  Thank you! 🙂