Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
nbuscemi
Contributor III
Contributor III

Change name of a region for map visualization

Hi,

I need to create a map. In my data source some regions are written wrongly, for example 'Emilia Romagna' has to be written with a dash ('Emilia-Romagna'). Is there a way to change the region's name? Or is there a way to geolocalize the region?

 

Thanks.

 

1 Solution

Accepted Solutions
nbuscemi
Contributor III
Contributor III
Author

Solution found! 

Simply put if function into the script right after the field you are interested to modify.

Example:

LOAD
COUNTRY,
REGION,
if(REGION='EMILIA ROMAGNA', 'EMILIA-ROMAGNA', REGION) as REGION2,
PROVINCE,
...

View solution in original post

2 Replies
nbuscemi
Contributor III
Contributor III
Author

I cannot access the tables view either modify the data loaded. I'm working on the desktop version, importing the apps as qvf one of my colleagues loaded on qlik server.

nbuscemi
Contributor III
Contributor III
Author

Solution found! 

Simply put if function into the script right after the field you are interested to modify.

Example:

LOAD
COUNTRY,
REGION,
if(REGION='EMILIA ROMAGNA', 'EMILIA-ROMAGNA', REGION) as REGION2,
PROVINCE,
...