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

Announcements
Discover the Trends Shaping AI in 2026: Register Here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

unequal

Hello,

i need your help!

how and where can i put a unequal condition like if(Value<>20824,) in this row

=SUM({<Year={'$(vMaxYear)'},TCMSALESORDERDATE={'<=$(vMaxDate)'},Month=,Day=,MonthYear=>} SALESPRICE*QTYORDERED)/1000

thanx

4 Replies
Anonymous
Not applicable
Author

Try

Value-={20824}

Not applicable
Author

i tried

=SUM({<Year={'$(vMaxYear)'},TCMSALESORDERDATE={'<=$(vMaxDate)'},Month=,Day=,MonthYear=>} if(Value<>20842,SALESPRICE*QTYORDERED))/1000

but there is no response

Anonymous
Not applicable
Author

I thought you wanted this condition in set...  Did you try it?
If you want "if", maybe you just need to add 0:

...

if(Value<>20842, ..., 0))/1000

Anonymous
Not applicable
Author

Hi!

you can  try

=if(Value<>'20824',SUM({<Year={'$(vMaxYear)'},TCMSALESORDERDATE={'<=$(vMaxDate)'},Month=,Day=,MonthYear=>} SALESPRICE*QTYORDERED)/1000)