Did you use the expression like this for rolling?
To see the latest year, you may need to try set exp like below-
Or follow the post Calculating rolling n-period totals, averages or other aggregations for detailed understanding
posted by gwassenaar
Always share sample data for faster response as troyansky suggested. Thanks.
if your condition is when no selection is made rolling 3 yr. calculation should be shown and if any selection is done on year then only that year's value should be show up then use the below expression.