Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

Value label how to remove 0 ?

Hi All

I have load script below :-

map_opt:
mapping LOAD *
Inline [
OPT, OPT_
1 ,Y
2 ,N

] ;

ApplyMap('map_opt', wildmatch( [Email Opt Out], 'TRUE*','FALSE*','LOA*')) as OPT_OUT,

Result i get is below :-

paulyeo11_0-1600076416204.png

May i know how to make it only N and Y ? Meaning i want to remove 0

Because 0 only have 1 items. i can delete it.

paulyeo11_0-1600076535711.png

 

Paul

 

1 Solution

Accepted Solutions
jmmolero
Partner - Creator
Partner - Creator

hi,

you can set "null()" as third parameter at applymap

ApplyMap('map_opt', wildmatch( [Email Opt Out], 'TRUE*','FALSE*','LOA*') ,null()) as OPT_OUT,

View solution in original post

1 Reply
jmmolero
Partner - Creator
Partner - Creator

hi,

you can set "null()" as third parameter at applymap

ApplyMap('map_opt', wildmatch( [Email Opt Out], 'TRUE*','FALSE*','LOA*') ,null()) as OPT_OUT,