it is hard to test it in grafana. I would test things out over in https://try.jsonata.org/
Also are you dates UTC?