Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Multiple Slider Objects on one sheet

Hi,

I am observing following behavior on the sheet of the app where i have placed two slider objects:


- whenever, i select any value from one slider, the value in the other slider gets reset even selections in other fields gets removed

( Mode:Single Value,      Value Mode:Discrete )

I am not sure why is it happening? Is it something about the slider object that i do not know or is it how it works!

Would appreciate help.

Thanks in advance.

Sibtain

1 Solution

Accepted Solutions
ahbzshk07
Contributor III
Contributor III

Alright, so your scenario seem to be as follows:
Table1: 

Field1Field2
1111
2112
3113
4114
5115
6116
7117
8118
9119
10120

Table2: 

Field1Field3
1111
5112
10113

Field1 -> Slider1, Field2 -> Slider2 , Field3 -> Slider3

If 1 is selected in Slider1 then you can select 111 in Slider2 and 111 in Slider3. Else, Slider1 value won't be retained.

Whereas, if we have another table as:

Table3:

Field4Field5
ADD
BEE
CFF

Field4 -> Slider4, Field5 -> Slider5

Selecting any value in Slider1, Slider2 or Slider3 won't affect Slider4 & Slider5

and yes, it is obvious that Slider4 & Slider5 selection will affect each other.

Just check if this is the thing with your data in data model.

Regards.

View solution in original post

6 Replies
settu_periasamy
Master III
Master III

Hi,

Are you using two different fields for your slider object? May be there is no relative data between them..

Can you provide the sample?

Not applicable
Author

Yes, both the sliders are attached to different fields. The top one is using expression (for formatting), the other one is direct field.

As you can see from the snapshot below the power slider is selected however, the price slider isn't. If i select on the price slider the power slider gets reset and the thumb disappears. same behavior happens vice versa.

slider objs.png

ahbzshk07
Contributor III
Contributor III

Hello Sibtain!

That will happen only if the field in Slider 1 is causing field in Slider 2 to change.

Slider objects don't lose their markings in else cases, as far as I know.

Regards.

Not applicable
Author

Of course, every column is linked with every other column (not literally), so the change in one should result in change in other slider.

The other thing is that change in sliders (alternatively) results in resetting selections in the list boxes as well. so completely resetting the selection, whenever, slider object is changed (either one)

settu_periasamy
Master III
Master III

May be try with field event trigger.. check the attached sample...

ahbzshk07
Contributor III
Contributor III

Alright, so your scenario seem to be as follows:
Table1: 

Field1Field2
1111
2112
3113
4114
5115
6116
7117
8118
9119
10120

Table2: 

Field1Field3
1111
5112
10113

Field1 -> Slider1, Field2 -> Slider2 , Field3 -> Slider3

If 1 is selected in Slider1 then you can select 111 in Slider2 and 111 in Slider3. Else, Slider1 value won't be retained.

Whereas, if we have another table as:

Table3:

Field4Field5
ADD
BEE
CFF

Field4 -> Slider4, Field5 -> Slider5

Selecting any value in Slider1, Slider2 or Slider3 won't affect Slider4 & Slider5

and yes, it is obvious that Slider4 & Slider5 selection will affect each other.

Just check if this is the thing with your data in data model.

Regards.