5.2.0 New Features: Macro Parameters in Filter

The last solution proposed in this answer is another example of using macro parameters inside a filter: