# Show subtracted value on Trend with InfluxDB

**URL:** <https://community.grafana.com/t/show-subtracted-value-on-trend-with-influxdb/37912>\
**Category:** General\
**Created:** [October 14, 2020, 3:05am UTC](https://community.grafana.com/t/show-subtracted-value-on-trend-with-influxdb/37912 "2020-10-14T03:05:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rikutozumoko](https://avatars.discourse-cdn.com/v4/letter/r/4af34b/32.png) [@rikutozumoko](https://community.grafana.com/u/rikutozumoko)\
**Post date:** [October 14, 2020, 3:05am UTC](https://community.grafana.com/t/show-subtracted-value-on-trend-with-influxdb/37912/1 "2020-10-14T03:05:00Z")

</div>

Dear Grafana Experts,

I hope you are all good.  
I have here a power meter that measures energy consumption that accumulates over time, so for example my value changing every minute.  
12:00 - \> 50 mwH  
12:01 -\> 60 mwH  
12:02 - \> 70 mwH  
12:03 -\> 80 mwH  
so on and so forth.

What I want is to view a Trend graph where it shows the power consumption for the specific period of time instead of its spot/accumulated value, so the 12:00 to 12:01, in the above example @timestamp 12:00 my value should be 10 (60 minus 50), I can’t see any functions to do what I want, I hope someone can help me.

Thank you.

With kind regards,  
Henjoe
