Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
whiteline
Honored Contributor II

Inline load & null values

Hi.

Does anyone know another way of loading null() values with inline load ?

LOAD

if(NullField='NULL', null(), NullField) as NullField;

LOAD * INLINE [

NullField

1,

NULL,

2,

3

];

1 Solution

Accepted Solutions
marcelo_7
Contributor

Re: Inline load & null values

Set NullInterpret = '';

LOAD * INLINE [

NullField,

1,

,

3,

];

3 Replies
mov
Esteemed Contributor III

Re: Inline load & null values

I think this is the only way in case of inline load.  Leaving it blank returns blank that is not the same as null.

Regards,

Michael

Employee
Employee

Re: Inline load & null values

Michael is right. The inline Load is like a text file that cannot contain NULL values. See more on http://community.qlik.com/docs/DOC-3155.

HIC

marcelo_7
Contributor

Re: Inline load & null values

Set NullInterpret = '';

LOAD * INLINE [

NullField,

1,

,

3,

];

Community Browser