# "Feed Value" over time period? like the last 7 days or 12 months

**URL:** <https://community.openenergymonitor.org/t/feed-value-over-time-period-like-the-last-7-days-or-12-months/17133>\
**Category:** Emoncms\
**Created:** [8 March 2021 11:00 UTC](https://community.openenergymonitor.org/t/feed-value-over-time-period-like-the-last-7-days-or-12-months/17133 "2021-03-08T11:00:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dave](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/d/ee7513/32.png) [@Dave](https://community.openenergymonitor.org/u/Dave)\
**Post date:** [8 March 2021 11:00 UTC](https://community.openenergymonitor.org/t/feed-value-over-time-period-like-the-last-7-days-or-12-months/17133/1 "2021-03-08T11:00:16Z")

</div>

Hi All  
I’m working on a new dashboard and it came to me that it would be useful to provide predictions based on the previous usage, I.E. cost of electricity over the last 7 days, 1 month, 12 months etc.  
Currently, the only way to do it is to look at yesterday’s import and multiply be 12.  
As you can see from my dashboard, we use an incredible amount of energy and without the solar PV, my leccy bill would be roughly £1,800 a year!!

Regards  
Dave

 ![Dashboard](https://community.openenergymonitor.org/uploads/default/original/3X/6/3/6391acd2b7d3a567f7a69b1e628733cd0d23c704.jpeg)

---

<div class="post-metadata">

**Author:** ![TrystanLea](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/trystanlea/32/31_2.png) [@TrystanLea](https://community.openenergymonitor.org/u/TrystanLea)\
**Post date:** [15 March 2021 11:54 UTC](https://community.openenergymonitor.org/t/feed-value-over-time-period-like-the-last-7-days-or-12-months/17133/2 "2021-03-15T11:54:31Z")

</div>

Hello @Dave

Did you see the kwhperiod widget in the dashboard? you can configure it to show consumption over different periods assuming that you have cumulative kWh feeds as the input feed

 ![image](https://community.openenergymonitor.org/uploads/default/original/3X/6/b/6b64199b46e65fcaa6f30a684898c389e74c16c4.png)

---

<div class="post-metadata">

**Author:** ![Dave](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/d/ee7513/32.png) [@Dave](https://community.openenergymonitor.org/u/Dave)\
**Post date:** [15 March 2021 13:56 UTC](https://community.openenergymonitor.org/t/feed-value-over-time-period-like-the-last-7-days-or-12-months/17133/3 "2021-03-15T13:56:24Z")

</div>

Hi Trystan,  
I wasn’t aware of that widget, however, I’m struggling to get it going.  
I have a total KWh feed that updates every 24 hours but when selecting a week, the number it spits out is only for a day when a week is selected.

Regards  
Dave

---

<div class="post-metadata">

**Author:** ![TrystanLea](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/trystanlea/32/31_2.png) [@TrystanLea](https://community.openenergymonitor.org/u/TrystanLea)\
**Post date:** [17 March 2021 11:35 UTC](https://community.openenergymonitor.org/t/feed-value-over-time-period-like-the-last-7-days-or-12-months/17133/4 "2021-03-17T11:35:28Z")

</div>

Ah yes you need to set ‘Period quantise’ to False.
