Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Qlik® Product Spotlight: Discover what’s possible. Get more from our products.
See for yourself. Register today.
Not applicable

Set analysis - year -1 for all selections

Hi All,

I'm trying to reach the following result with set analyais:

For each year year chosen (not max year) show data for previous year. So:

If 2015 is chosen - show data for 2014.

If 2015 and 2016 are chosen show data for 2014 and and 2015.

If none is selected (so all the years are chosen by default) - show data for year-1 of all the years.

How can that be done?

(The needed solution is more complex but that would be a good start).