Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
matthieu-hoffmann
Partner - Contributor III
Partner - Contributor III

Keep selections for several fields in Triggers

Hi everyone,

I'm using the sheet triggers added in April 2020 in my Qlik Sense application (on April 2020 SR3).

On every page, I activated "clear selections in other fields" and used my Year field. But what if I also would like to keep the Month field, the Date field ? And eventually a 4th one ? I tried with 2 triggers but it doesn't work. Is there another way, eventually with other triggers in a specific order ?

I need every sheet to retrieve their initial aspect except for these selections.

Thanks for your help.

www.easyneo.fr
Labels (3)
4 Replies
ArnadoSandoval
Specialist II
Specialist II

Hi @matthieu-hoffmann 

It seems we need to understand this functionality behaviour to better implement it; I did some test with a sales application-dashboard that allows me to filter on the fields year; month; day and city; these are my results:

  • This is my UI, with 4 selectors:

ST-01.png

  • I implemented a trigger with its action: "clear selections in other fields" as shown; I assigned the City field instead of the Year one:

ST-02.png

  • The trigger cleared the selections for all my selectors but the City; It will be challenging implementing multiple "clear selections in other fields" actions to achieve what you want to do.

ST-03.png

  • So, I changed the action to "Clear selections in field", and implemented a second trigger with similar action of the Sales_Day field, as shown.

ST-04.png

  • The outcome of my second test was promising, it allows us to keep selections for several fields by clearing the selections we do not want; I think this is what you want to do!

ST-05.png

Please let us know if this approach resolve your issue!

Hope this helps,

Arnaldo Sandoval
A journey of a thousand miles begins with a single step.
matthieu-hoffmann
Partner - Contributor III
Partner - Contributor III
Author

Hi,

Thank you for your tests.

Nevertheless, I can’t procede thus because except my four common fields in every pages, I have multiple other ones, not the same everywhere. And I can’t add 30+ exceptions in my triggers...

www.easyneo.fr
ArnadoSandoval
Specialist II
Specialist II

@matthieu-hoffmann 

Have you consider using Alternate States instead?

hth

Arnaldo Sandoval
A journey of a thousand miles begins with a single step.
matthieu-hoffmann
Partner - Contributor III
Partner - Contributor III
Author

Yes, but I have so many objects in my application...

I also thought about using all my fields in a variable and use this in a set analysis to exclude them like Count(distinct {<Year=,Month=,>} %IdCustomer)

The easier way appeared Qlik let us the possibility to choose several fields in the trigger used.

www.easyneo.fr