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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

variables in list box

Hi, I want to show variables in list box without loading them as inline or island table, is it possible? if yes, how?

thanks in advance.

7 Replies
jvitantonio
Specialist III
Specialist III

Yes, crete a list box, then in the field drop down, select <Expression> and enter your variable like

$(vVariable)

I hope this helps

Not applicable
Author

my mistake, I mean all variables created in the app. Ex: if I have 5 Variables, wanted to show all variable names in the list box

Variable List
Var1
Var2
Var3
Var4
Var5
rustyfishbones
Master II
Master II

Have you tried an input box, why does it have to be a list box?

Not applicable
Author

inputbox wont helps in my case, attached sample with what exactly I am looking for.

rustyfishbones
Master II
Master II

So you don't need to create variables do get adhoc reports

Create all your expressions and Conditionally show them based on a metric like this

Variables.png

Then create a Listbox using an expression using PICK() function

Not applicable
Author

can you please upload  a sample... how users get option to pick an expression from list box?

MayilVahanan

HI

PFA

Use Valuelist function in listbox expression. but you can't select it.

or

Use inputField in script for edit the values. for ex: i used here state field like tat.

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.