Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Catch Current Selection and Use in other set analysis

Hello everyone,

I use Qlik Sense. I have a question about selection. Indeed, I have 5 years, and I want when I select Two or More years catch this selection in a variable and use that in qliksense, like this for example with a year :

  • yearSelect : $(=year)
  • sum({1<year={$(=yearSelect)}>} valeur)

I want a similary solution but for many years selected.

Thank you in advance for all ideas.

Best regards,

SD

1 Solution

Accepted Solutions
swuehl
MVP
MVP

If you want to consider the selections in default state $ only for selections in certain fields, you can do it like

sum({1<year = $::year >} valeur)

or if you want to catch the possible values


sum({1<year= p(year) }>} valeur)

View solution in original post

2 Replies
swuehl
MVP
MVP

If you want to consider the selections in default state $ only for selections in certain fields, you can do it like

sum({1<year = $::year >} valeur)

or if you want to catch the possible values


sum({1<year= p(year) }>} valeur)

Not applicable
Author

Awesome, thank you it's THE solution, I can throw my variable ^^ !