I need to add a dynamic filter to a view so I would only have to change
the filter when changing the parameters. In the derived table, the
filtering looked like this:WHERE((client_status = 'Client' and
date_trunc('month',APPLICATION_APPROVAL_DATE) <=...