Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
soniasweety
Master
Master

Null +value

Hi All,

Quy Nguyen

youssef belloum

i have field called  Go_to   the values i can see is

blank

direct

indirect

so my requirment is     all null.blank treat as direct only

how can i do this?

1 Solution

Accepted Solutions
YoussefBelloum
Champion
Champion

Hi,

try like this:

table:

load

if(len(trim(GO_TO_MAR)=0,'Direct', GO_TO_MAR) as GO_TO_MAR

from...

View solution in original post

3 Replies
YoussefBelloum
Champion
Champion

Hi,

try like this:

table:

load

if(len(trim(GO_TO_MAR)=0,'Direct', GO_TO_MAR) as GO_TO_MAR

from...

Frank_Hartmann
Master II
Master II

if(len(trim(GO_TO_MAR))=0,'Direct', GO_TO_MAR) as GO_TO_MAR

soniasweety
Master
Master
Author

thank you both its working fine