Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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

1 Solution

Accepted Solutions
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

View solution in original post

12 Replies
its_anandrjs

Hi,

In the Layout properties of the slider write

=GetSelectedCount(YourListboxfieldNamehere)=1

Ex:-

=GetSelectedCount(CustomerName)=1

Regards

Anand

Not applicable
Author

dear Anand

I write this bit it would error

=GetSelectedCount(CUS10)=1

Not applicable
Author

Hi,

Is CUS10 is field name or value of any field?

Regards

Not applicable
Author

hope this helps you,find sample in attachment

Not applicable
Author

try this

=getselectedcount(listboxname)>=1  in layout tab >conditional> write this condition

vikasmahajan

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.
Not applicable
Author

Dear Bhawna Gupta

actually it would be correct but not something that I wanted

I want to remove slider when it unselected otherwise show it

for example when select cus1 , cus2 and cus10

show 3 slider

thanks

Not applicable
Author

Its field name

Not applicable
Author

=getfieldselections(fieldname)>=1  > in layout > conditional