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: 
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')