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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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
MVP
MVP

Create a variable in the front end like this 

a = GetFieldSelections(id)

View solution in original post

1 Reply
avinashelite
MVP
MVP

Create a variable in the front end like this 

a = GetFieldSelections(id)