Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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')