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: 
Shinooj_M
Partner - Contributor II
Partner - Contributor II

Create A Field with 3 values depends on condition

Hi All,

Need help in creating a field which contains below value

IF (Field1 = 1) then Yes OR (field1=0) then No else Null End as Field1.

Regards.

 

1 Solution

Accepted Solutions
TiagoCardoso
Creator II
Creator II

Hi, im from Brazil.

Sorry for my english.

Try this:

 

LOAD

IF(Field1 = 1, 'Yes',

     IF(Field = 0, 'No', NULL())) AS Field1

View solution in original post

1 Reply
TiagoCardoso
Creator II
Creator II

Hi, im from Brazil.

Sorry for my english.

Try this:

 

LOAD

IF(Field1 = 1, 'Yes',

     IF(Field = 0, 'No', NULL())) AS Field1