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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Fill a listbox dynamically by choosing a dimension

I employ an input box which succesfully captures chosen dimensions in variables.

While referring to these variables in a graph, they dynamically take the chosen dimension as stored in the variable.

The expression used in the chart is simply a referral to the variable, for instance : vChosenDimension.

I did the same in a listbox while choosing expression instead of an existing field, but.. the listbox remains empty.

Do you know how to refer to a variable to have a dynamic listbox?

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Have you tried

=$(vChosenDimension)

as field expression in your list box?

View solution in original post

3 Replies
swuehl
MVP
MVP

Have you tried

=$(vChosenDimension)

as field expression in your list box?

Not applicable
Author

Hi Swuehl

Thanks for the advice,now it works, great. So I have to exclamate the default state through $, didn't know because i thought variables ignorant to  states

swuehl
MVP
MVP

Here, $ does not indicate the current selection state like in a set expression, it is indicating a so called dollar sign expansion (please check out the Help file for more infos on that).

Regards,

Stefan