Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
KausikKhanra
Partner - Contributor
Partner - Contributor

Calculated Field with Logical Operator (AND)

Hi

Please find below a simple example, it’s working with single condition, but not working for multiple conditions with AND while trying to create a calculated field on Data Manager; it works fine with Analysis Tab though. 

What I observed is 'AND' is not recognized on Data Manager while it's recognized on Analysis. Why Logical operators (AND, OR, NOT) are not part of Data Manager?

Single Condition: IF(1>2, A, B) works fine

Multiple Conditions: IF(1>2 AND 2>3, A, B) throws error.

Labels (3)
7 Replies
hvfalcao
Creator
Creator

same here... did you found any solution?

JuMo
Contributor III
Contributor III

UP ⬆️

Hello, same problem here with 'OR' operator

Or
MVP
MVP

As far as I know, this remains a limitation of the Data Manager. One has to either use the Data Load Editor, or use nested if() statements, e.g.

if(1>2,if(2<3,1,0),if(2<3,1,0))

JuMo
Contributor III
Contributor III

Thanks, I will go for that, but I am quite surprised that such basic operators are not available

Or
MVP
MVP

I never use Data Manager, so I never noticed until someone asked about it on Community. I'd suggest graduating to Data Load Editor as soon as you're comfortable doing so.

marcus_sommer

Beside the nested if-approach you could try to replace the logical operators with mathematical ones - means something like:

IF(1>2 * 2>3, A, B)

- Marcus

JuMo
Contributor III
Contributor III

Thanks, thats what I've done