Can't query data between two timestamps

I need to know how to query data between two timestamps using Grafana default timepicker variable i.e., $__from and $__to timestamp
> sum by (job) (http_responses_total{job=“paytailapi”})

I have the above query and I need to show count on a daily basis (one selected from Grafana timepicker) but I am getting cumulative count for each day on time series graph under Grafana.
I am not using any variable as I don’t want the end user to calculate duration each time i.e., http_responses_total[1h30m] it should calculate that from above Grafana time picker.