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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Convert small int to Boolean

Hi,
Could any one help in writing the syntax for converting small int to Boolean.
Thanks,
-Teja.
Labels (2)
3 Replies
Anonymous
Not applicable
Author

Hi
Try some expression like this on tMap, eg:
row1.columnName==0?true:false
Best regards
Shong
Anonymous
Not applicable
Author

How do i convert boolean to int in tmap 
Anonymous
Not applicable
Author

Hi pDons
Try like this:
row1.columnName==true?1:0
//if true, set it to 1, otherwise it is 0.