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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register 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