Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Dharanidharan_DD

How to Create Year Filter - Fixing Minimum Year as 2012 and max automated year to year

Hi friends,

How to Create Year Filter - Fixing Minimum Year as 2012 and max automated year to year.

 

Year:

2021

2020

2019

2018

2017

2016

2015

2014

2013

2012

 

For Next Year Max year have to change 2022 and min Year to be maintained 2012...

Please Give me a Solutions Friends... 

 

 

Labels (3)
4 Replies
MayilVahanan

HI @Dharanidharan_DD 

Try like below in ur calendar

let vMaxDate = Floor(MakeDate(Year(Today(1)),12,31));

let vMinDate = MakeDate(2012,1,1);

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Dharanidharan_DD
Author

hi,

How to use it in the Selection / Filter pane

MayilVahanan

Hi

Try like below

=Aggr(Only({<Year={">=2012<=$(=Year(Today()))"}>}Year), Year)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Digvijay_Singh

This may also work - 

if(Year>=2012,Year) as dimension in the Filter pane