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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
TomBond77
Specialist
Specialist

SUM with condition ">0" not working

Hi experts

The following expression is not working:

Sum({<[Measure] ={">0"}, [Year]={$(=max([Year]))}>} [Measure])

The following expressions work fine:

Sum({<[Measure] ={">-6<1"}, [Year]={$(=max([Year]))} >} [Measure] )

Sum({<[Measure] ={"<-5"}, [Year]={$(=max([Year]))} >} [Measure] )

Any ideas why the first expressions is not working? It also sums up the negative values!

Many thanks

Tom

 

1 Solution

Accepted Solutions
TomBond77
Specialist
Specialist
Author

1 Reply
TomBond77
Specialist
Specialist
Author

fixed.