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: 
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