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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how to replace null values with out using resident load

hi,

i have 2 tables

one is master table contains two fields (%BILLINGDOC,sysfillener )two columns,

Another one is vendor table which contains two fields(%SYSLIFNR ,NAME1) , after i joining to tables based on the key column i am get null values in in that place i want replace with 'other_vendor',

My Script is

LOAD

%BILLINGDOC,

       %SYSLIFNR

FROM

(qvd);

left join

LOAD

%SYSLIFNR,

NAME1

FROM

(qvd);

My output will be like this:

Header 1Header 2Header 3
%SYSLIFNR%BILLINGDOC, NAME1
US65416823276-
us34665890670-
us56874474987-
us74084698396-
us73749840865-
us95476879878-
uk45676909889-
us43569078988-
us47987289808vwr
uk53874792389ios
gd46984750070-
us52783479739-
uk38746749801skk

i want  replace null values with 'other_vendor',with out using resident load for master table and apply map also.

Can any one help me on that..

Thanks in advance.

regards

siva reddy

10 Replies
MarcoWedel

Hi,

if you are that concerned about your loading performance you could as well forget about the joining bit and use Hirish's solution in the front end:

QlikCommunity_Thread_203556_Pic1.JPG

QlikCommunity_Thread_203556_Pic2.JPG

table1:

LOAD * INLINE [

    %SYSLIFNR, %BILLINGDOC

    US, 65416823276

    us, 34665890670

    us, 56874474987

    us, 74084698396

    us, 73749840865

    us, 95476879878

    uk, 45676909889

    us, 43569078988

    us, 47987289808

    uk, 53874792389

    gd, 46984750070

    us, 52783479739

    uk, 38746749801

];

table2:

LOAD * INLINE [

    %BILLINGDOC, NAME1

    47987289808, vwr

    53874792389, ios

    38746749801, skk

];

hope this helps

regards

Marco