Last tested: Sep 6, 2019
In general, using templated filters in PDTs (or any liquid, like parameters, really) is NOT a good idea. The dynamic filters will cause the table to rebuild every time the filter changes, and it causes a huge amount of strain on your database. You should stick with a plain derived table, since the table must build from scratch anyway every time the filter value is changed.
There is a feature request for allowing liquid in PDTs - please add your use case!