Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
marlku1234
Contributor II
Contributor II

if condition in Dimension

i have a  Dimension in chart which has following value  

dimension name country    and the value is   India, Uk , Mexico .

but i want to implement if condition where if country is India then ASIA . 

Labels (1)
2 Replies
simsa
Contributor III
Contributor III

=IF(Country = 'India','ASIA',Country)

sidhiq91
Specialist II
Specialist II

@marlku1234  You can use the below code in your script.

If (country='India','ASIA',

 if(Country='UK','Europe','Country')) as Country

If this resolves your issue, please like and accept it as a solution.