Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Slider steps when slider is a percent

I'm using a slider that is a calculated expression, shown as a percent.  I want to allow only whole numbers for the percentages, i.e.:  82%, not 82.1%.

On the General tab, I've selected Min Value = .80, Max Value = 1, Static Step = .01.

On the presentation tab, it's a Custom Scale with Major Units = 21, Labels on Every 5 Major Unit, and 0 (zero) Minor Units per Major Unit.

How can I limit my slider to "snap" to whole percentages?

2 Replies
vgutkovsky
Master II
Master II

Sam,

I'm not sure why this isn't working. It looks like a bug. As a workaround, you can do a scale of 80 to 100 with a static step of 1. Then divide your variable by 100 in the charts. Or create a second variable to use in the charts that is equal to the first variable divided by 100 so you don't need to make the modification in each chart. The only problem is that you can't show the '%' sign in the slider with this workaround...consider reporting the bug to support@qlikview.com

Regards,

Vlad

m_woolf
Master II
Master II

Can you raound your calculation to the nearest %?