
Not applicable
2014-10-05
05:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If statements for multiple values
Hello,
I'm trying to write below in Qlikview load script can anyone help me on this?
Case when FIELD 1 IN (1,3,4,7) THEN X
when FIELD 1 in (2,5,6) THEN Y ELSE ' ' END
Thanks
33,121 Views
1 Solution
Accepted Solutions


Master II
2014-10-05
05:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
try
if(match(Field,'1','3','4','7'),'x',if(match(Field,'2','5','6'),'y',''))
Regards
KC
Best Regards,
KC
KC
1 Reply


Master II
2014-10-05
05:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
try
if(match(Field,'1','3','4','7'),'x',if(match(Field,'2','5','6'),'y',''))
Regards
KC
Best Regards,
KC
KC
