Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

NEGATIVE AMOUNTS

Hello,

I try to extract only the negative amounts of a dimension in which positive, negative and also 0 amounts are mixed.

Could you please tell me the method to encode.

Thanks in advance.

Kind regards.

1 Reply
MarioCenteno
Creator III
Creator III

Try this

Dimension

=if( aggr((sum(SALES))<0),NAME_CLIENT), NAME_CLIENT,'OThers')