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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How can I retain the previous selection among different Buttons

Hi QV,

In my sheet I have 4 buttons.

When I navigate from one button to another, the selections in previous button are not reflecting to current button selection.

So, my requirement is to have previous selections should not be cleared when i navigate among the buttons.

Thanks in Advance,

Ananth

1 Solution

Accepted Solutions
sasikanth
Master
Master

Hi Ananth

For this you need use triggers

Got to Document properties , FiledEvent triggers --> Add-->Select in Filed -->

<Filed Name> , in Value box Write the condition like

"If(GetSelectedCount(Year)>1,0,  GetFieldSelections(Year)) "-->ok

Follow the Procedure ,

Thanks

Sasi

View solution in original post

23 Replies
amit_saini
Master III
Master III

Hi Ananth,

You can lock your selections while switching buttons.

Thanks,

AS

Not applicable
Author

Thanks Amit, but a user can't do it right

amit_saini
Master III
Master III

Hi Ananth,

User can do this . Please see below when I'm looking at my report on access point I can see Lock and Unlock Options

Thanks,

AS

Not applicable
Author

Thanks for your response Amit,

If we do like this, we need to explain this thing to user.

Can't we have a permanent solution for this.

amit_saini
Master III
Master III

Ananth,

If all those selections you want to lock  and are applicable to all the users than plz lock them  on your admin application and run the report through QMC , now every user will get that selection by default as locked one's .

Thanks,
AS

Not applicable
Author

Thanks Amit,

One more Issue,

In a list box how can I select only one value at a time. I don't want to use Always one selected value.

Thanks,

Ananth

amit_saini
Master III
Master III

Ananth, could you please explain a bit more here. You mean to say a user can only select one value in list box not multiple at one time?

Thanks,

AS

Not applicable
Author

Yes exactly, at a time a user can able to select only one value from the list box, multiple selections should be avoided

sasikanth
Master
Master

Hi ananth

For a list box to select list box one value at atime

you need t fire the trigger , onActivateSheet--->Add-->Select in filld-->give the Filed and the value

Then when ever you select the sheet i will automatically select the value in List box

Thanks

Sasi