Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.


Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

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

Re: Get count of values


Check the attached App for the similar work around.

Hope this helps,

Narasimha K

Not applicable

Re: Get count of values

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)