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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
karolina_
Creator II
Creator II

On change action for variables

Hi All,

I got strange behaviour of QV and hope someone can help/explain.

I got 3 variables and 2 trigger action on varaible change to limit numer of selection in list box. The max allowed selections are 2 and whenever 3rd selection is made it is deselected.

When I had text box to display the variables all was working fine. Once I removed it, the 3rd value was kept.

I opened window with variable the check the one which is set after other is set and it was ok. After the lookup it was working again.
I did Clear All and was not working.

Only when variable is displayed and checked it behave as it should.

I have attache the example when you can do 2 selection on the listbox on top right.

If you remove blue text box -> do Clear All -> save, you can select more than 2 options.

Thanks,

Karolina

edit to attach correct file: karolina_

edit to add: I'm getting know aggr now and =if(GetSelectedCount(ProjectName)=2,aggr(ProjectName,ProjectName),ProjectName) in list box is doing great! job, however question about when above variables work correctly stays open.

1 Reply
sushil353
Master II
Master II

attach the application.. it is not there