Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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.