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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calculate -Ve values

Hi all ,

What to do if want to calculate on only negative values,

Ex :  Arrears

        -10000

         20000

        -500

         3000

        -4500

i want to calculate only -Ve valuescan any one help.

Thanks

Labels (1)
1 Solution

Accepted Solutions
Not applicable
Author

sum(if(Arrears<0,Arrears))

View solution in original post

3 Replies
amit_saini
Master III
Master III

Hi,

Can do like this:

if(Sum(Field) < 0,  Sum(Field))

Thanks,
AS

Not applicable
Author

sum(if(Arrears<0,Arrears))

Not applicable
Author

Thank you Venkat Reddy.