Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Error when using the expression equals ().

Friends,

My job is showing an error when using the equals () expression below:

 

(row1.DS_PRIORIDADE).toUpperCase().equals("X") ? 1 :

((row1.DS_PRIORIDADE).toUpperCase().equals("Y") ? 2 :

((row1.DS_PRIORIDADE).toUpperCase().equals("Z") ? 3 :

((row1.DS_PRIORIDADE).toUpperCase().equals("w") ? 4 : 0)))

 

Can you help-me?

Labels (3)
1 Reply
manodwhb
Champion II
Champion II

@Dayse ,What are error are you getting ?  is DS_PRIORIDADE string data type and output field data type should be integer based your expression.