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

Filter values pass into Variable

Hi

Is it possible to pass filter selected values into variable ?

E,g

Filter i selected Name: Govind

I have to pass this values (Govind) into variable.

Using this variable i will do some calculation.

How can i do in qlik sense.

Thanks

Govind R

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Put this expression in the variable: =only(Name)

Or if you want to use multiple selections: =concat(distinct Name, ', ', Name)


talk is cheap, supply exceeds demand
Not applicable
Author

E.g I am using filter filed City.

Please give me steps please.where and how can i get.

If i select single value or if i select multiple values.

Anonymous
Not applicable
Author

Hi, this should be possible by add expression to get the selected value  in a variable.

SET vField = GetFieldSelections(City);

You can add above in your load script or add this variable in the qlik sense master library.

Zhihong