Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
Qlik® Product Spotlight: Discover what’s possible. Get more from our products.
See for yourself. Register today.
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
MVP
MVP

Re: Catch Current Selection and Use in other set analysis

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)

2 Replies
MVP
MVP

Re: Catch Current Selection and Use in other set analysis

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

Re: Catch Current Selection and Use in other set analysis

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