You would have to use simple Date filter, so you can use the variable again minus a year.
To account for leap year and things like that, you’ll need to do some more SQL - but that has nothing to do with Metabase, and you might find better ways to do it on stackoverflow.com