Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
pradeep92
Partner - Creator II
Partner - Creator II

Table Preview option Disabled !

Hi,

I have a table

Emp1:

LOAD * INLINE [

    FirstName, LastName

    John, Smith

    Adam, Power

    Peter, Goldman

     ,Value

] where exists(FirstName) / where isnull(FirstName) ;

After reload, When I check in table viewer (CTRL + T), it doesnt load any data .. Shows 0 records and table preview is disabled.

Can someone please help?

1 Solution

Accepted Solutions
devarasu07
Master II
Master II

Hi

We have the value but it might be blank or null so the len(FirstName)=0; will take care of NULLs and blanks.

Hope this helps to you

Once your question answered try to close this thread by marking as correct. Thanks

P.S: check this article for more details

NULL handling in QlikView

Regards,

Deva

View solution in original post

5 Replies
devarasu07
Master II
Master II

Hi,

Try like this.

Emp1:

LOAD * INLINE [

    FirstName, LastName

    John, Smith

    Adam, Power

    Peter, Goldman

     ,Value

] where len(FirstName)=0;


Capture.JPG

Hope this helps to you

tresesco
MVP
MVP

If you want to get null from inline table, you could NullInterpret system variable like:

Set NullInterpret='';

LOAD * INLINE [

    FirstName, LastName

    John, Smith

    Adam, Power

    Peter, Goldman

     ,Value

] where  isnull(FirstName) ;

pradeep92
Partner - Creator II
Partner - Creator II
Author

Hi, Thank you so much for the quick reponse. Is it just because There was no data ,the table viewer option was disabled right ?

pradeep92
Partner - Creator II
Partner - Creator II
Author

Thank you !

devarasu07
Master II
Master II

Hi

We have the value but it might be blank or null so the len(FirstName)=0; will take care of NULLs and blanks.

Hope this helps to you

Once your question answered try to close this thread by marking as correct. Thanks

P.S: check this article for more details

NULL handling in QlikView

Regards,

Deva