Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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