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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Fill a variable with a selection

Hi,

I have made an Load inline table which gives a number of options :

Capture.PNG

Now I want a variable which automatically stores the chosen option, but I don't know how to do that.

I want to do something like (i'm thinking in programming terms) ;

vSelection = selection.value

I can do it with a button, which by pressing does a storing action to the variable, but isn't there a way to eliminate the button and do it right away? I mean, with a slider you don't need a button either to store the value.

thanks

Labels (1)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

3 Replies
MayilVahanan
MVP
MVP

Hi

     Create a variable like this,

     vSelection = GetFieldSelections(Selection)

     Hope it helps

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

Check Attached

Not applicable
Author

hey thanks guys so much!