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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources 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

This

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

franziska_greis
Contributor
Contributor
Author

thanks it works