When I am trying to select field filter then the variable doesn't show up, else when selecting other fielters it is working fine.
Hi @Gaurav
Post "Diagnostic Info" from Admin > Troubleshooting.
The bottom screenshot says that you have not selected "Field to map to (required)"
I would recommend that you read through this guide:
https://www.metabase.com/learn/building-analytics/sql-templates/field-filters.html
@Gaurav Notice the "Filter widget type" is None
and there's a note underneath with a link.
Make sure that the Field Type in Admin > Data Model is one of the compatible ones:
https://www.metabase.com/learn/building-analytics/sql-templates/field-filters.html#only-certain-fields-are-compatible-with-field-filters
Okay, thanks sorted