Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
carolin01
Partner - Creator II
Partner - Creator II

Slider Design

Hello,

I´ve created a slider which shows Percentages and is connected to a variable that I use in a chart.

The layout of my slider currently looks as follows:

Screenshot.png

As you can see 0% is at the top and 100% is at the bottom. I would like to have the opposite sorting so that 100% is at the top and 0% is at the bottom as this would be more logical for  my users. Any ideas how to do this? The sort-function doesn´t seem to be available if I use a variable.

Many thanks in advance.

Best regards,

Carolin

1 Solution

Accepted Solutions
veidlburkhard
Creator III
Creator III

Hi Carolin,

when using a variable in a slider no sorting is possible.

If you want the sorting from top to bottom, you have to do a workaround and add a new table in the load script with the 11 values from 0 to 1. In the slider you can use this field instead of a variable. With this you can use the sorting in your preferred way.

Hope this helps

Burkhard

View solution in original post

2 Replies
ThornOfCrowns
Specialist II
Specialist II

My first idea was to have a static step of -0.1, but this breaks Qlikview, even though you can have a negative number as the min / max value.

The workaround - aka bodge - is to use megative numbers and then multiply your variable by -1 when you need it. Visually, you can get away with it, I think.

veidlburkhard
Creator III
Creator III

Hi Carolin,

when using a variable in a slider no sorting is possible.

If you want the sorting from top to bottom, you have to do a workaround and add a new table in the load script with the 11 values from 0 to 1. In the slider you can use this field instead of a variable. With this you can use the sorting in your preferred way.

Hope this helps

Burkhard