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: 
ali_hijazi
Partner - Master II
Partner - Master II

inline table with null valued column

Hello

I need to create a table using inline load

for example

myTable:

load * inline[

C1,C2

1, Ali

2, Jean

3, NULL

];

for the third row I want C2 to be null the above is considered as the string NULL

I can walk on water when it freezes
4 Replies
lironbaram
Partner - Master III
Partner - Master III

change your load to

myTable:

load * inline[

C1,C2

1, Ali

2, Jean

3,

];

ali_hijazi
Partner - Master II
Partner - Master II
Author

I tried this out but gave syntax error

I can walk on water when it freezes
its_anandrjs
Champion III
Champion III

Hi,

Use isnull( ) function and do not put any thing in the row.

myTable:

load * inline[

C1,C2

1, Ali

2, Jean

3,

];

It will automatically treated as null value.

Rgds

Anand

lironbaram
Partner - Master III
Partner - Master III

ok
try this one
SET NULLINTERPRET =<sym>;
myTable:

LOAD * INLINE [
C1, C2
1, Ali
2, Jean
3,<sym>
]
;