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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
franziska_greis
Contributor
Contributor

Year before selected

Hello I am looking for expression in set anaysis like this one:

=sum({$<Jahr={2017}>}Umsatz)

But the year should not be fixed - it should be the year before selected.

Thanks for help ;o)

2 Replies
sunny_talwar
MVP
MVP

This

=Sum({$<Jahr= {"$(=Max(Jahr)-1)"}>} Umsatz)

franziska_greis
Contributor
Contributor
Author

thanks it works