Percentage repeats year over year

https://discuss.elastic.co/t/how-to-create-time-range-conditions-on-timelion/119404

This looked promising but it seems that Lucene can't do relative dates. Is there a different visualization that would be better?