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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
simondachstr
Specialist III
Specialist III

How to convert digital data information into a string upon loading

Hey,

I have a data set which solely consists of 0 and 1. On loading, I want those numbers to be converted into string information: 0 = High and 1 = Low
It should go into the following direction:

LOAD

     DATA

     if ( DATA = 0, "High", DATA) OR if( DATA= 1, "Low", DATA) as NewDATA

I would appreciate your help.

Martin

Labels (1)
1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

use the following:

If(DATA = 0, 'High', 'Low') As NewDATA

Regards

Jonathan

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

View solution in original post

1 Reply
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

use the following:

If(DATA = 0, 'High', 'Low') As NewDATA

Regards

Jonathan

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