We can take advantage of Tableau's order of operations to create a filter that will not filter the moving average table calculation. We can convert the filter to a table calculation. This is explained further in Filtering the View Without Filtering Underlying Data | Tableau Software
If you're interested, you can also check out Tableau's Order of Operations
Hope this answers your question!
Sample-modified.twbx 14.4 KB