Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
this is the code i'm using ,
if([Field_Name] = 'name1' or 'Name2',1) as key.
however qlik is not assigning the value for my second field Name 2.
It should be like this -
if([Field_Name] = 'name1' or [Field_Name] = 'Name2',1) as key
Hi
Try like below
if(Match([Field_Name], 'name1', 'Name2'),1) as Key
or
if(WildMatch([Field_Name], 'name1', 'Name2'),1) as Key
Wildmatch is incase-sensitive.
It should be like this -
if([Field_Name] = 'name1' or [Field_Name] = 'Name2',1) as key
Hi
Try like below
if(Match([Field_Name], 'name1', 'Name2'),1) as Key
or
if(WildMatch([Field_Name], 'name1', 'Name2'),1) as Key
Wildmatch is incase-sensitive.