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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Count if and expression


I am having trouble creating a count if and expression in my analysis.

I am looking to get the count if Field1 if Field2 = Yes, and Filed3 = 4

=Count(if(Field2='Yes',and(Field3=4))Field1)

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Maybe


=Count( if(Field2='Yes' and Field3=4 , Field1))

View solution in original post

3 Replies
swuehl
MVP
MVP

Maybe


=Count( if(Field2='Yes' and Field3=4 , Field1))

Anonymous
Not applicable
Author

Hi,

Your expression is wrong.

Try this:

=Count(if(Field2='Yes' and Field3=4,Field1))

Not applicable
Author

That worked.. thank you