Panels in Dashboard show no data

I have an unusual problem with one of my dashboards. I create four graph panels and for its query, I have used some recording rules on prometheus.
when I’m editing panels and its time range is last 7 days, everything is ok and my panels have data but when I update the time range of dashboard, my panels show no data, though, there is data for last 7 data in my Prometheus data source.

Grafana version: 7.2.2
Operating system: ubuntu 20.04
This is my panel and its query:

welcome to the :grafana: community @fdavoudinia78!

Can you share more about what time range shows “no data”? What happens if you use the Query Inspector button for both queries, do you notice anything interesting?