Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
evansabres
Specialist
Specialist

Multiple Variables

Hello -

I have a field, '[Buyer Type Code]'

I want to do a sum of quantity of tickets sold for [Buyer Type Code] where [Buyer Type Code] is not equal to several variables. The variables I want to include are 'STH' 'COMP' and 'EMPCOMP'

How do I enter an expression to have a sum not equal multiple variables.

Currently, I have

=SUM({<[prmBUYERTYPE]-={'STH'}>} prmTIXQTY)

to return all values not 'STH'. So, I just want to include two variables (any maybe more down the line)

Thank you

1 Solution

Accepted Solutions
maxgro
MVP
MVP

=SUM({<[prmBUYERTYPE]-={'STH', 'COMP'}>} prmTIXQTY)

View solution in original post

1 Reply
maxgro
MVP
MVP

=SUM({<[prmBUYERTYPE]-={'STH', 'COMP'}>} prmTIXQTY)