Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
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

1 Solution

Accepted Solutions
aadilmadarveet
Valued Contributor

Re: Fill a variable with a selection

Check Attached

3 Replies

Re: Fill a variable with a selection

Hi

     Create a variable like this,

     vSelection = GetFieldSelections(Selection)

     Hope it helps

aadilmadarveet
Valued Contributor

Re: Fill a variable with a selection

Check Attached

Not applicable

Re: Fill a variable with a selection

hey thanks guys so much!

Community Browser