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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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

Labels (1)
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