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: 
lucarizziero
Partner - Contributor III
Partner - Contributor III

Script - check data

Hi,

In the Load Script I need to check if a field contains values.

For instance:

qv_table:

LOAD data .....

....

then I need to check if the field data contains values - something like:

IF count(data)>0 then

.....

Thanks

1 Reply
erichshiino
Partner - Master
Partner - Master

You can use len() - returns the number of characters or isnull() - returns true if the field is empty.

Load data, if( len(data)=0, 1,0) as emptyFlag ...