ERROR: syntax error at or near

i get this error: "ERROR: syntax error at or near "merchant_name" Position: 4336"
when i run my code.

select *
from status_amount_cms
where true
[[ merchant_name = {{merchant}} ]]

It works when i dont input anything the filter works as default but when i select a merchant i have the error

A post was merged into an existing topic: Having a dashboard filter that is not obliged to be used