Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
bsbernabe
Creator
Creator

remove negative value

Hello There,

  My concern is so so simple but i don't know how to do that regarding the negative value, i want to remove.

Sample:

          Item               Quantity

     motorcycle               1

     car                           -1

how can i remove/skip THE negative value at the list?

be like below:this is what i want to display.

          Item               Quantity

     motorcycle               1

Best Regards,

Bing

Labels (1)
2 Replies
MK_QSL
MVP
MVP

Use something like below

IF(SUM(Quantity)>0,SUM(Quantity))

or

SUM({<Item = {"=SUM(Quantity)>0"}>}Quantity)

shiveshsingh
Master
Master

May be this expression

=Sum({<Item = {"=Sum(Quantity)>0"}>}Quantity)