Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

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

Re: Filter values pass into Variable

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

Re: Filter values pass into Variable

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.

geminihzh
Valued Contributor

Re: Filter values pass into Variable

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

Community Browser