No valid fileds about time filter

I useed a date variables in the native query, the variables’s type is Date
In the dashboard,i added a time filter which kind is month and year, but the question hint that "no valid fileds ",how can i solve this problem.the problem attached:


Hi @twinkle
When using a Date variable, then you can only use Single Date filter on the dashboard.