Qlik Community

Ask a Question

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
QlikWorld Online 2021, May 10-12: Our Free, Virtual, Global Event REGISTER TODAY
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
Partner

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
Partner

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
Partner

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

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! 🙂