Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
everest226
Creator III
Creator III

QlikView Date fields

HI i have a field Name FTR   , it has a value H,D,A

now i want new field if the value is H and A then 3  , D then 1 

Labels (1)
1 Solution

Accepted Solutions
waszcma1
Partner - Creator II
Partner - Creator II

Hi, 

So use that:

if(wildmatch(FTR ,'H','A'),3,1)

View solution in original post

2 Replies
waszcma1
Partner - Creator II
Partner - Creator II

Hi, 

So use that:

if(wildmatch(FTR ,'H','A'),3,1)

sgagliardi
Partner - Contributor III
Partner - Contributor III

Do you mean:

=IF(FTR='H',3,IF(FTR='A',3,1))