Check this setting, you’ll need to use a button formula
You should use a combination of ForEach(), Sequence() and AddRow() function like this to populate your table YearTable
This means that, for each value from date 1 to date 2 (managed by slider, or whatever else you want), we will create a new row in the table, and set the name as the current value (the value of year)