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: 
Anonymous
Not applicable

Applying a value from a variable to a dimension

Hi,

I am trying to effect a dimension using 2 variables,

with this formula: ='>=' &vStart_Slider_Selection & '<=' &vEnd_Slider_Selection

my dimension is integer,

but when I apply a value to the variable (using a slider), the variable gets this value:

1.png

Despite my effort, the dimension isn't effected:

2.png

Thanks!

1 Reply
swuehl
MVP
MVP

Where exactely are you using your formula? And what exactely do you want to happen?

In a list box, you can try using a field <expression> (selected from the field drop down on general tab) like

=If( [Posting Days] >= vStart_Slider_Selection and [Posting Days] <= vEnd_Slider_Selection, [Posting Days])

This should limit the range of values in your list box.

If you rather like to select the range of values, use a trigger OnInput of your variables and use an Selection - Select in field action with your [Posting Days] as field name and your formula as search string:

='>=' &vStart_Slider_Selection & '<=' &vEnd_Slider_Selection