Add Dashboard Filter to a Custom Question

How can a dashboard filter be applied to a Custom Question ?
I am able to do it only with native SQL queries.

1 Like

Answered here: Apply Dashboard filter to questions built with "Custom Question" GUI