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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
balasundaram
Creator II
Creator II

how to show current along with previous year data if i selected in year list box?

=Sum({<Year = {'$(=Max(Year))'}>} Sales)

i need show while open current year data only


its working separate selections only like


while opening its showing current year data,in list box if i selected previous year its showing previous data..but issue is if i selected both previous and current year in list box..its showing only current year...not showing total two year data..

10 Replies
MK_QSL
MVP
MVP

=SUM({<Year = {'$(=Max(Year))'}>+<Year = {'$(=Min(Year))'}>}Sales)