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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
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