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: 
RAJ6
Contributor III
Contributor III

equal operator expression

Hi Talend Folks,

                      I need to check equal condition for three column.

whether it is possible or not?

if possible means please tell me? 

whether below Sample expression correct or wrong?

Below Sample expression column is int data type.

 

sample expression:

(row1.Base == row2.PL == row3.Loss)?"Ok" : "Not Ok"

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

You need to explicitly compare all 3 operands:

((row1.Base == row2.PL) && (row1.Base == row3.Loss))?"Ok" : "Not Ok"

View solution in original post

1 Reply
Anonymous
Not applicable

You need to explicitly compare all 3 operands:

((row1.Base == row2.PL) && (row1.Base == row3.Loss))?"Ok" : "Not Ok"