# Total value has wrong calculation

**URL:** <https://community.grafana.com/t/total-value-has-wrong-calculation/20912>\
**Category:** Grafana\
**Created:** [September 11, 2019, 10:17am UTC](https://community.grafana.com/t/total-value-has-wrong-calculation/20912 "2019-09-11T10:17:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![oleksandrsemak1contr](https://avatars.discourse-cdn.com/v4/letter/o/df705f/32.png) [@oleksandrsemak1contr](https://community.grafana.com/u/oleksandrsemak1contr)\
**Post date:** [September 11, 2019, 10:17am UTC](https://community.grafana.com/t/total-value-has-wrong-calculation/20912/1 "2019-09-11T10:17:34Z")

</div>

Hi,

I tried to use Visualization → Legend → Value total but i got right values only for no more then 2 day.  
I am not sure if it problem of PromQL, Grafana ot smt else.  
I have attached screenshot with Total column.

Prom expr: sum(rate(nginx\_ingress\_controller\_response\_size\_sum{ingress!=“”}[2m]))

Grafana v6.3.5

 ![43](https://us1.discourse-cdn.com/grafana/original/2X/e/e7224229ec8a749bdc3a81e169a55b67e6a71298.png) ![55](https://us1.discourse-cdn.com/grafana/original/2X/7/72516bdeab3237163b9c764411145aa7e8c32311.png)
