Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to count no of records

Hello ,

I am trying to count nos of the following but getting no rows count, what am i missing?

=SUM({<Status={'A Camb'},{'A Birm'},{'A Hurn'},{'A Irl'},{'A Cumb'},{'A Brig'}>}1)

1 Solution

Accepted Solutions
Brice-SACCUCCI
Employee
Employee

Hi,

there's a parenthesis missing,

count({<Status={'A Camb','A Birm','A Hurn','A Irl','A Cumb','A Brig'}>} Status)

Regards,

Brice

View solution in original post

6 Replies
swuehl
MVP
MVP

Maybe try it like

=count{<Status={'A Camb','A Birm','A Hurn','A Irl','A Cumb','A Brig'}>} Status)

Not applicable
Author

hI Swuehi,

I am still not getting any record back.

simondachstr
Luminary Alumni
Luminary Alumni

The syntax of swuehl is correct - so there's either a spelling error of your field Status (note, it's case sensitive) or one of your values 'A Camb' etc. is misspelled or does not exist. However, in the latter case, you should've gotten at least a number as a result.

Brice-SACCUCCI
Employee
Employee

Hi,

there's a parenthesis missing,

count({<Status={'A Camb','A Birm','A Hurn','A Irl','A Cumb','A Brig'}>} Status)

Regards,

Brice

simondachstr
Luminary Alumni
Luminary Alumni

Very attentive - I missed it.

Not applicable
Author

Thanks all, you all rock