Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Srinivas
Creator
Creator

I want select max two values in qlikview.

Hi All,

In list box i want select max two values only, Not more than two values in list box how can we resolve this issue.

See below screen shot for your reference

Could you please help on this.

Regards,

Munna

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Check attached sample. Used a trigger.

View solution in original post

7 Replies
amit_saini
Master III
Master III

Munna,

Like this????

Thanks,
AS

alexandros17
Partner - Champion III
Partner - Champion III

in the fields list of list box there is an item "expression", select it and write

=If(field <> max(TOTAL field,1) and aaa <> max(TOTAL field,2), null(), field)

let me know

Srinivas
Creator
Creator
Author

In list box by selection time we should select only two values. not like that ..

Srinivas
Creator
Creator
Author

Hi Alessandro,

I couldn't do can you sen any sample application that would be better.

Advance Thanks

Munna

Not applicable

Hi Munna Reddy,

You can do it in the scripting sie.

if list box  A have the values 10,20,30,40.....

Load

A,

max(A), Max(A)-1 as MaxMinA

from....

In layout(UI) you can take MaxMinA.

Hope this helps

tresesco
MVP
MVP

Check attached sample. Used a trigger.

alexandros17
Partner - Champion III
Partner - Champion III

Here it is ...