Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

conditional show

Hi all

I want to show a slider when a field of a list box selected and hide when it is unselected how can do this?

like in image (if cus10 select/unselect  the last slider show/hide)

thanks

12 Replies
Not applicable
Author

Dear Bhawna

I dont catch the solution to the problem

thanks

Not applicable
Author

Hi Hossein,

Can you try the below (write it in the Conditional property of the slider):

=GetSelectedCount(WriteHereTheFieldNameAsInScript) > 0 and SubStringCount(';' & Concat(WriteHereTheFieldNameAsInScript, ';') & ';', ';WriteHereTheValueRequiredToShowTheSlider;') = 1

For example:

=GetSelectedCount(Customer) > 0 and SubStringCount(';' & Concat(Customer, ';') & ';', ';CUS10;') = 1

Not applicable
Author

Hi Jp_bakhache

It was exactly that I wanted

can you help me how to be good at writing scripts like you.

thanks