Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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.