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: 
Not applicable

How to count Y/N data in fields?

Hi, what is the formula to apply in a chart to count Y/N data in fields?

For example, I have as a field "email received" and then Y or N as data.

When in my chart I use the formula Count(received) I have the number of emails received but I would like to have only the ones who are marked "Y".

I tried Count(RECEIVED) = 'Y' but it doesn't work...

Help

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

count({<RECEIVED={'Y'}>}RECEIVED)


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

count({<RECEIVED={'Y'}>}RECEIVED)


talk is cheap, supply exceeds demand
sunny_talwar

For counting Y's you can use this:

=Count({<RECEIVED = {'Y'}>} RECEIVED)

HTH

Best,

S

Not applicable
Author

Thanks a lot to both of you