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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
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

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)