Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
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