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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
msawyercke
Creator
Creator

Simple Count - Question

Hello,

I'm trying to count records using the formula:

Count ([Unit Status]='Opened')

But, this returns the count of all records in the file (121).  The actual count of 'Opened' is 48.

Here's a snippet of the field in the data table.  I changed the name of the variable to 'Project Status' in this table, but it is 'Unit Status' in the source data file. 

Open.JPG

.

Can anyone see what I am doing wrong?

Thanks!

1 Solution

Accepted Solutions
sunny_talwar

Try this:

Count({<[Unit Status]= {'Opened'}>} [Unit Status])

View solution in original post

2 Replies
sunny_talwar

Try this:

Count({<[Unit Status]= {'Opened'}>} [Unit Status])

msawyercke
Creator
Creator
Author

Wow - thanks, Sunny.  Works like a charm! 

I'll bookmark this in case I need to do something similar in another part of my app.  You are the BEST!