Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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!