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: 
Not applicable

Find blanks in text field

I tried to use the expression

count(IF(text=' ',items))  to find all items where the text field is blank - but?????????????????????????

1 Solution

Accepted Solutions
manuelreimitz
Partner - Contributor III
Partner - Contributor III

=count(if(len(trim(text)) = 0, item))

do the "trim" operation in load script and flag the dataset!

LOAD

     id,

     text,

     f(len(trim(text)) = 0, 0, 1) as EmptyFlag,

     item

RESIDENT Table:

View solution in original post

2 Replies
manuelreimitz
Partner - Contributor III
Partner - Contributor III

=count(if(len(trim(text)) = 0, item))

do the "trim" operation in load script and flag the dataset!

LOAD

     id,

     text,

     f(len(trim(text)) = 0, 0, 1) as EmptyFlag,

     item

RESIDENT Table:

Not applicable
Author

Hurra - it works