Qlik Community

App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
WE ARE LISTENING! New Navigation for Qlik Community, Sept. 26: TELL ME MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
niha
Creator II
Creator II

If else scripting error

Hello,

I am having error from this ststements. I am trying to create a dimension bigcountry having the below country. Please suggest.

if (
( Country = ('Italy', 'France', 'Spain', 'United Kingdom')),1,0) as Bigcountry,

Regards,

Niha

Labels (1)
1 Solution

Accepted Solutions
Vegar
MVP
MVP

Try this expression:

if(match(Country,'Italy', 'France', 'Spain', 'United Kingdom'),1,0) as Bigcountry,

View solution in original post

1 Reply
Vegar
MVP
MVP

Try this expression:

if(match(Country,'Italy', 'France', 'Spain', 'United Kingdom'),1,0) as Bigcountry,