Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join this live chat April 6, 10AM EST - QlikView to Qlik Sense REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
montubhardwaj
Specialist
Specialist

How to Select the previous selected field value?

Hi Community,

In my application, I have 5 tabs each having some number of objects in it. I want to have selections in one tab such that will not reflect other tabs. For example, If I am selecting Country='Canada' in tab1, when going to other tabs, this selection should clear off. Up to here it is fine and I am able to achieve this. But If I come back to tab1, I want to have same value selected i.e. Country='Canada'.

Also, if I am changing country to Japan, it should be selected again when I am on tab1 but should clear off while on other tabs. Iam using QV9 SR6 and will be great if we can achieve it through Triggers.

Thanks for you help in advance.

13 Replies
montubhardwaj
Specialist
Specialist
Author

One small correction: this method will work only if you select one value for Account. If there are more than one values selected, the variable will not be able to select Account field. Since, variable will consider more than one values as string(I suppose) and it will show as

Variable1:Mr A,Mr B

So if anyone has any idea how to proceed further, please pour in your ideas.

isaiah82
Creator III
Creator III

See attached example using Toggle Select. -Isaiah

montubhardwaj
Specialist
Specialist
Author

Hi Isaiah,

Thats great man... working all fine... many thanks. Yes

isaiah82
Creator III
Creator III

No problem > you can use the same syntax with (regular) Select in Field instead of Toggle Select, but it puts the funny looking string into the Current Selections box. If you continue to use the Toggle Select you probably want to add Clear in Field first in your trigger. If you don't and one or more of the same values are selected on the separate page, they would become unselected using Toggle Select.

Best of luck -Isaiah