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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
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 !

Labels (1)
2 Replies
rubenmarin
MVP
MVP

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.:)