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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

i have a null values in table but i want assign all null values to a field called 'null' how to assign?

i have a null values in table but i want assign all null values to a field called 'null' how to assign?

7 Replies
its_anandrjs
Champion III
Champion III

Read this documents for the NULL

Not applicable
Author

where is doc

its_anandrjs
Champion III
Champion III

Find Attached Pdf document.

Not applicable
Author

i cant find it

selvakumarsr
Creator
Creator

In Load Statement


if(Country=' ',  null, Country) as Country


or


Set NullDisplay = '<NULL>';

Anonymous
Not applicable
Author

Hi,

If you want to specify NULL for all columns available in your schema than below script will solve your issue.

SET NulLDisplay ='NULL';

If you want to display NULL for only specific columns than below script should work,

NullAsValue <ColumnName1>, <ColumnName2>;

SET NullValue='NULL';

its_anandrjs
Champion III
Champion III

You can find from this attached URL.

NULL handling in QlikView

Hope thus helps