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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Input box to select a range of values

Hi All,

I have a few fields having the data in the following format.

S. No.Category     Val
1A2.5
2A1.6
3B3.9
4C4.5
5D4.6
6A4
7B2.3
8D3.6
9E2
10C1

A user would select a category first and then would enter a value in an input box. the input box value would be the max top records he wants to see in the report for the category based on the value of the field VAL.

eg. if he selects category A and enter a value 2, the records with S.No. 6 and 1 should be filtered as they have the highest value for the field VAL in category A.

Any ideas of how it can be done.

Thanks!

2 Replies
Not applicable
Author

hi

see attachement

if(cat = category and v1<val,val)

Not applicable
Author

Hi,

I've added a sample file with the text boxes indicating what I want to achieve. I want to make this generic and not limited to one chart or list box. So I guess when a value is entered a trigger should filter the top records. I am not sure on how to do that. May be it requires aggr function or something.

Thanks a lot.