Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Ronald
Contributor III
Contributor III

Sum multiple conditions

HI,

I want to sum, but my expression dont work.

Laboratory cold be: Bayt, Bayaten, etc

sum({<Or={'Target'},Laboratory={'Bay*'}>} total)

Labels (1)
1 Solution

Accepted Solutions
Or
MVP
MVP

Try double-quotes around your wildcard:

sum({<Or={'Target'},Laboratory={"Bay*"}>} total)

Also, you should really consider not naming your field "total", that is a keyword and can be quite confusing in this context.

View solution in original post

1 Reply
Or
MVP
MVP

Try double-quotes around your wildcard:

sum({<Or={'Target'},Laboratory={"Bay*"}>} total)

Also, you should really consider not naming your field "total", that is a keyword and can be quite confusing in this context.