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: 
Not applicable

Set Analysis

Hi,

If I select a year I should get the data for the previous year in a chart.help me in writing the expression

Regards

Murali

1 Reply
Not applicable
Author

if you select the year in the field "calendar_year', try the following formula in your chart:

sum({<calendar_year= {$(=Only([calendar_year])-1)}>} data)

regards,

marcel