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: 
Not applicable

How to translate TRUE/FALSE values from Excel data

Hello again!

I have some Excel data that looks something similar to the following.  When I load this data into Qlikview my TRUE/FALSE values tranlsate to 0 or -1.

I actually want the presentation in QV to show "TRUE" or "FALSE"  or even YES or NO.

What am I doing wrong here?

RefNew Install?
SLTN00001

TRUE

SLTN00002TRUE
SLTN00003FALSE
SLTN00004FALSE
1 Solution

Accepted Solutions
Not applicable
Author

Thanks for all your help guys.

I got it working with this in the script.....

If([New Install?] = -1, 'TRUE', 'FALSE') as [New Install?]

View solution in original post

6 Replies
m_woolf
Master II
Master II

in script:

if([New Install] = -1,'TRUE',

     if(([New Install] = 0,'FALSE')) as [New Install],

sunny_talwar

Seems to be working fine for me. May be add Text() function for New Install?

Capture.PNG

krishna_2644
Specialist III
Specialist III

This way?

Capture.PNG

Not applicable
Author

Hi

in the script try

if ([new install]='TRUE', 'True','False') as [new install value]

if it not work, please post the sample excle & qvw files.

ogster1974
Partner - Master II
Partner - Master II

A quicker way to load than nested IF statements try:

pick(match([New Install], -1, 0), 'TRUE','FALSE')

Not applicable
Author

Thanks for all your help guys.

I got it working with this in the script.....

If([New Install?] = -1, 'TRUE', 'FALSE') as [New Install?]