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

Announcements
AWS Degraded - You may experience Community slowness, timeouts, or trouble accessing: LATEST 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