Skip to main content
Announcements
Qlik Announces Qlik Talend Cloud and Qlik Answers: LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
manoranjan_d
Specialist
Specialist

always selected one value

Hi all

In sheet 1 i have list box of dept where that has to be always selected one value

now when i move to sheet 2 the always selected one value has to be cleared

how can we achieve this.

14 Replies
vikasmahajan

Step 1 . for Sheet1  Go Sheet Properties  -> Trigger -> On Activate -> Select in Field -> Select Field -
>Give Search Value

Step 2 . for Sheet2  Go Sheet Properties  -> Trigger -> On Activate -> Select in Field -> Select Field -

>Give Search Value

Hope this helps you

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
vikasmahajan

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
manoranjan_d
Specialist
Specialist
Author

this is not the correct one, bcoz when i m movig to sheet2 there is no dept dept list box.

vikasmahajan

additional action also you can add in this box while leaving sheet clear -> Field -> Dept

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
vikramv
Creator III
Creator III

Oops fort to attach the screenshot...


You have to write a macro as mentioned in the below link:

How to clear the Always One Selected Value ListBox Property - QlikView Blog, QlikView Videos and Tip...

In the first sheet use the attached option of list box.

Then use this macro in same sheeet triggers OnLeave Sheet -->  ACtions -- > Extrenal --> Run Macro as per link above

or

As an alternative , We can use Alternative states to achive this kind of functionality.

Like You have to keep all the objects of that particular sheet a particular alternative state and all other sheets in normal state..

Hope this helps !

MindaugasBacius
Partner - Specialist III
Partner - Specialist III

In sheet2 use trigger Clear Field

Screenshot_1.jpg

jayaseelan
Creator III
Creator III

Hi Manoranjan,

Hope this will help you.

1.PNG2.PNG3.PNG

manidhana90
Partner - Contributor II
Partner - Contributor II

Hi Manoranjan,

Try to use Alternate state for sheet1's objects,

Refer this, Alternate States selection in default chart

manoranjan_d
Specialist
Specialist
Author

but as per the requirement it should have only one value to be selected in the list box, not more than one