Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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 ...