Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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

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

Try with


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


Or


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


Regards

Anand