Hi Manoj, this is a very generic question so you would need some more details about what you are trying to do.
What do you need the filter to be able to do? (let the user pick the latest year?) What data field you filtering? (is it discrete, continuous or a date?)
If you can include a screenshot of your dashboard and detail what you want that filter to do then I can answer this question.