How to filter using variable on Simplejson datasource?

I am using Grafana version 7.4.2. How to filter using variable on Simplejson datasource?
When writing a query that does not use a variable, it works normally.