Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Trigger Selected Fields won't clear

Hi All,

I searched a few times for an answer for this, since it seems like I'm missing something simple.

I have a field [SliderOptions] that I use for a slider, from that a trigger selects options in [Score]. The trigger select is:

='(' & Concat(DISTINCT [SliderOptions], '|') & ')'

The problem is, when I make a selection on the slider and then hit 'clear' at the top, the [SliderOptions] clear but the [Score] selects everything. Can someone help me determine why? And a way to make the clear work in this format?

I've attached a sample.

Note: hitting clear twice will clear everything, I know, but I'd like it to do it the first time.

Thanks!

1 Solution

Accepted Solutions
krishnacbe
Partner - Specialist III
Partner - Specialist III

Try below expression in your trigger.

=if(GetSelectedCount(SliderOptions)>=1, '(' & Concat(DISTINCT [SliderOptions], '|') & ')')

View solution in original post

3 Replies
krishnacbe
Partner - Specialist III
Partner - Specialist III

Try below expression in your trigger.

=if(GetSelectedCount(SliderOptions)>=1, '(' & Concat(DISTINCT [SliderOptions], '|') & ')')

Anonymous
Not applicable
Author

This works! Thank you!

YoussefBelloum
Champion
Champion

Hi,

Just added a condition on the Trigger to check if the Slider Is null

check attached