Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Edi1
Contributor
Contributor

if/else

Hello,

Help please!

getting an error in syntax in tMAP

.

"ROA&E".equals(row1.Division_1)?"00000"!=ROA&E:" "

I am trying to say in this code that the output will be "00000" if not equal to ROA&E. Otherwise, it will be the project number. (The output for the project number can be a variation of numbers)

Input data type, I am using String. Output type is a String too.

Thanks-

Labels (2)
10 Replies
Edi1
Contributor
Contributor
Author

@guenneguez jeremy​ 

 

This is resolved. I was to use the values and not ROA&E... This is good to go. Thanks!