Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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)