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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Adjusting the results of a loaded field

Hello,

I have a field 'RIDReportable' which stems from a tick box and holds either 1 (ticked) or -1 (unticked).

What is the correct syntax in the script to translate this so from 35 responses,  I can see Yes or No instead of 1 or -1 in the straight table?

Its currently

1 - 1

-1 - 34

And I wish to show

Yes - 1

No - 34

Any ideas?

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

The syntax is:   If(PIDReportable =1, 'Yes', 'No')

Hope that helps

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

2 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

The syntax is:   If(PIDReportable =1, 'Yes', 'No')

Hope that helps

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

Many thanks Jonathan