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: 
geogou1973
Creator
Creator

set analysis expression

Hello,

I have a field that has values like NA, NC, NZ and values null.

How can i take only the null values in an expression of set analysis ?

sum({<isnull(CSTAAR)>} [Stock Qty])    this does not work

sum({<CSTAAR={' '}>} [Stock Qty])        this does not work also.

please any help ?

Thank you in advance.

11 Replies
geogou1973
Creator
Creator
Author

also with the flag i don't have the 5 lines that have 0,000 values

sfatoux72
Partner - Specialist
Partner - Specialist

Use this,  :

If(Sum({<CSTAAR=-{'NC','NA','NZ'}>} [Stock Qty]) = 0, 0, Null())