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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
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)

Labels (1)
1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

Maybe


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

View solution in original post

3 Replies
swuehl
Champion III
Champion III

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