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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register 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.