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: 
annagustafsson
Partner - Contributor
Partner - Contributor

True (-1) or False (0)

Hi,

I have a table with,  a field name, 'NameLetters'. 'NameLetters' consists of different letters, examples A, B, C, D. I need to set these to True or False. That is, if the letter A matches, it should be a True otherwise, it should be False. How do I do that?

Unfortunately, I can not do this in a simple if-sats, because it is not reset in Qlik -1 or 0. 

Best regards
Anna 

Labels (1)
  • SaaS

1 Solution
4 Replies
Or
MVP
MVP

It's not clear what the letter is supposed to match...

Qlik has True() and False() available. You can also use 0 (False) or -1 (True) if you prefer those to the functions for whatever reason.

annagustafsson
Partner - Contributor
Partner - Contributor
Author

Hi,

I need to use 0  or -1. How do I write this? 

 

Or
MVP
MVP

I don't know how you'd write it, as it's not clear what your requirement is. Letters are supposed to match something, but you didn't explain what.