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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Display Maximum or most Recent Years on the List Box Properties

Good Morning..

I am facing one issue where i have list of Years  from 2000 to 2015  in List Box Properties and I wanted to display only maximum or recent 3 years on in List Box.Can anybody help me to resolve this issue.Thank You !

2 Replies
rubenmarin

Hi Prasad, to show the recent 3 years in a list box you can use:

=Aggr(Only({1<YearField={'>$(=Year(Today())-3)'}>} YearField), YearField)

Anonymous
Not applicable
Author

Thank You Ruben .It works for me.:)