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: 
Rav3
Contributor II
Contributor II

Sum of sales where comments is null(-)

I have to do the summation of sales where Comment is '-' (its string) 

=SUM({<COMMENTS={'-'}>}Sales)

=SUM({<COMMENTS={' '}>}Sales)

Both the  Expressions are not working  Please Advise.

 

Thanks

Labels (1)
1 Reply
afurtado
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi.

Try this

SUM({<COMMENTS -={'*'}>} Sales)

or

SUM({ $ - <COMMENTS ={'*'}>}   Sales)

 

furtado@farolbi.com.br