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

Get count of values

How to get count of field values which are less than selected value of same field.

2 Replies
Not applicable
Author

Hello:

Check the attached App for the similar work around.

Hope this helps,

Narasimha K

johnw
Champion III
Champion III

I don't think you need the variable.  And we may have to decide what to do if more than one or if none are selected.  For the sake of argument, I'll go with less than the minimum selected, and 0 if none are selected:

count({<Item={"<$(=min(Item))"}>} Item)

Or if it's a key field:

count({<Item={"<$(=min(Item))"}>} distinct Item)