Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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 (3)
1 Reply
afurtado
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi.

Try this

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

or

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

 

furtado@farolbi.com.br