How to get success data when grafana use prometheus with rule like increase[$time]?

my metric data size is very big , so i must use rule to aggr data .
my rule is : increase(sum(data)[10m])

when i use this metric in grafana ,i find the data will change when interval change on time change .

Does anyone know how can i do in this scene ?

Try swapping sum() with increase(), e.g. sum(increase(data[10m])). See Rate then sum, never sum then rate – Robust Perception | Prometheus Monitoring Experts for details.