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

if statement to upload multiple country

Hi I have multiple countries which i want to upload in script in single format ,I have the script as follows  but i am not able to load it

if(RegistrationStoreLocation='INDIA',India',if(RegistrationStoreLocation='JAPAN','Japan',if(RegistrationStoreLocation='CHINA','China'))) as Country,

4 Replies
sunny_talwar

Why don't you try using Captialize() function, if all you want is to make 1st letter upper case and all other lower case

LOAD RegistrationStoreLocation,

          Capitalize(RegistrationStoreLocation) as Country

FROM ....

Anonymous
Not applicable
Author

stalwar1

i did not know of this function. Thank you

sunny_talwar

Ofcourse you do

Anonymous
Not applicable
Author

yaar sunny i really don't know man.