How would I create a calculation based on the difference between different filters?

Have you looked into lag function?

You would partition by month.

It might look something like this.