Connecting Dashboard filter data model based question with SQL based question

Need Help,

Does anyone know how to connecting the filter between data model based question and SQL based question? or is there any format so we can connect the SQL based question to data model based question in dashboard?

thank you