Filter table data on basis of dropdown selection

i have a data grid table in which i have months column from jan to dec i want to put a year dropdown in which I select a year and it retrieve data and change data in table for that particular year  
1 answers

In Your case create Separate entity called Years( Master Data - 2021, 20222 ,2023) and Associate with your existing entity ( 1 year have many (Your Entity) 
During Data creation you need to select the year for which user is creating data . And Have the year filter as relational filter