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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

and clause


I'm trying to create an 'and' function and struggling.

I've got the basic code which is:

Count({<ExceptionMonth = {$(vCurrentMonth)}> } [Exception ID])

However i want to add another clause which is "and testID ='1'."

How / where would i do tis?

Cheers

Labels (1)
1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Count({<ExceptionMonth = {$(vCurrentMonth)}, testID = {'1'}> } [Exception ID])

or

Count({<ExceptionMonth = {'$(vCurrentMonth)'}, testID = {'1'}> } [Exception ID])

View solution in original post

2 Replies
MK_QSL
MVP
MVP

Count({<ExceptionMonth = {$(vCurrentMonth)}, testID = {'1'}> } [Exception ID])

or

Count({<ExceptionMonth = {'$(vCurrentMonth)'}, testID = {'1'}> } [Exception ID])

its_anandrjs
Champion III
Champion III

Try with


Count({<ExceptionMonth = {' $(vCurrentMonth), testID = {'1' } }> } [Exception ID])


Or


Count({<ExceptionMonth = {' $(vCurrentMonth) '}testID = {'1'}   }> } [Exception ID])


Regards

Anand