In case you want to compare years when filtering on last x weeks and have the year comparison over the year change (week 53 and week 1), you can’t use a relative date calculated field filter as this method transforms the years to current year more or less (see previous post). In this case you have to index the years and index the weeks,months or quarters (whatever you want to filter on).
In the example I colored the bars by years for example purposes, normally you would color by difference in sales or something to give it a more meaningful analysis.