Please see attached example.
I create the partial date (Day & Month) in the script and then use Set Analysis in the table to pick the appropriate years to calculate based on Today's date. Since it's 2015 it will use 2015 for the first column and 2013-2014 for the average as per your example above. !
AverageOfData.qvw 148.2 K