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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
grant_S
Contributor
Contributor

how to update var base on filter

 

let a = 5

test:

load * inline [

id

1

2

3

];

 

i want to update variable "a" to be updated base on filter, for examle when filter id "2", variable "a" change to 2

 

how to do it?

thanks advanced.

1 Solution

Accepted Solutions
avinashelite

Create a variable in the front end like this 

a = GetFieldSelections(id)

View solution in original post

1 Reply
avinashelite

Create a variable in the front end like this 

a = GetFieldSelections(id)