# Sum of repeated values

**URL:** <https://discourse.nodered.org/t/sum-of-repeated-values/68768>\
**Category:** General\
**Created:** [9 October 2022 15:32 UTC](https://discourse.nodered.org/t/sum-of-repeated-values/68768 "2022-10-09T15:32:58Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![oliver.es](https://avatars.discourse-cdn.com/v4/letter/o/dc4da7/32.png) [@oliver.es](https://discourse.nodered.org/u/oliver.es)\
**Post date:** [9 October 2022 15:32 UTC](https://discourse.nodered.org/t/sum-of-repeated-values/68768/1 "2022-10-09T15:32:58Z")

</div>

Can someone please advise how to add all "pv\_estimate" values in the incoming message together and send the sum to the output? Thanks

 ![Snímek obrazovky 2022-10-09 v 17.22.13](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/e/4ef4b70dfc3c36e98327b39bb8a04026fd14d781.png)

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [9 October 2022 15:43 UTC](https://discourse.nodered.org/t/sum-of-repeated-values/68768/2 "2022-10-09T15:43:56Z")

</div>

I am guessing that the objects you have shown are elements of a payload array, as your image leaves alot of info out.

Feed the payload into a change node  
set `msg.payload`  
to JSONata J: `$sum($$.payload.pv_estimate)`

If that fails please present an input object that is copyable.

---

<div class="post-metadata">

**Author:** ![oliver.es](https://avatars.discourse-cdn.com/v4/letter/o/dc4da7/32.png) [@oliver.es](https://discourse.nodered.org/u/oliver.es)\
**Post date:** [9 October 2022 15:50 UTC](https://discourse.nodered.org/t/sum-of-repeated-values/68768/3 "2022-10-09T15:50:12Z")

</div>

```auto
[
    {
        "estimated_actuals": [
            {
                "pv_estimate": 0.766,
                "period_end": "2022-10-09T15:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.149,
                "period_end": "2022-10-09T15:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.49,
                "period_end": "2022-10-09T14:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.78,
                "period_end": "2022-10-09T14:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.018,
                "period_end": "2022-10-09T13:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.199,
                "period_end": "2022-10-09T13:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.029,
                "period_end": "2022-10-09T12:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.624,
                "period_end": "2022-10-09T12:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.237,
                "period_end": "2022-10-09T11:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.482,
                "period_end": "2022-10-09T11:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.461,
                "period_end": "2022-10-09T10:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.372,
                "period_end": "2022-10-09T10:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.229,
                "period_end": "2022-10-09T09:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.037,
                "period_end": "2022-10-09T09:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.799,
                "period_end": "2022-10-09T08:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.516,
                "period_end": "2022-10-09T08:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.192,
                "period_end": "2022-10-09T07:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0.843,
                "period_end": "2022-10-09T07:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0.488,
                "period_end": "2022-10-09T06:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0.159,
                "period_end": "2022-10-09T06:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T05:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T05:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T04:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T04:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T03:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T03:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T02:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T02:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T01:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T01:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T00:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T00:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T23:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T23:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T22:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T22:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T21:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T21:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T20:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T20:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T19:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T19:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T18:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T18:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T17:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T17:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T16:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0.089,
                "period_end": "2022-10-08T16:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0.382,
                "period_end": "2022-10-08T15:30:00.0000000Z",
                "period": "PT30M"
            }
        ]
    },
    {
        "estimated_actuals": [
            {
                "pv_estimate": 0.766,
                "period_end": "2022-10-09T15:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.149,
                "period_end": "2022-10-09T15:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.49,
                "period_end": "2022-10-09T14:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.78,
                "period_end": "2022-10-09T14:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.018,
                "period_end": "2022-10-09T13:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.199,
                "period_end": "2022-10-09T13:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.029,
                "period_end": "2022-10-09T12:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.624,
                "period_end": "2022-10-09T12:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.237,
                "period_end": "2022-10-09T11:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.482,
                "period_end": "2022-10-09T11:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.461,
                "period_end": "2022-10-09T10:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.372,
                "period_end": "2022-10-09T10:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.229,
                "period_end": "2022-10-09T09:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.037,
                "period_end": "2022-10-09T09:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.799,
                "period_end": "2022-10-09T08:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.516,
                "period_end": "2022-10-09T08:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.192,
                "period_end": "2022-10-09T07:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0.843,
                "period_end": "2022-10-09T07:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0.488,
                "period_end": "2022-10-09T06:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0.159,
                "period_end": "2022-10-09T06:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T05:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T05:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T04:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T04:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T03:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T03:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T02:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T02:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T01:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T01:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T00:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T00:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T23:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T23:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T22:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T22:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T21:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T21:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T20:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T20:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T19:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T19:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T18:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T18:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T17:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T17:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T16:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0.089,
                "period_end": "2022-10-08T16:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0.382,
                "period_end": "2022-10-08T15:30:00.0000000Z",
                "period": "PT30M"
            }
        ]
    },
    {
        "estimated_actuals": [
            {
                "pv_estimate": 0.766,
                "period_end": "2022-10-09T15:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.149,
                "period_end": "2022-10-09T15:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.49,
                "period_end": "2022-10-09T14:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.78,
                "period_end": "2022-10-09T14:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.018,
                "period_end": "2022-10-09T13:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.199,
                "period_end": "2022-10-09T13:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.029,
                "period_end": "2022-10-09T12:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.624,
                "period_end": "2022-10-09T12:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.237,
                "period_end": "2022-10-09T11:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.482,
                "period_end": "2022-10-09T11:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.461,
                "period_end": "2022-10-09T10:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.372,
                "period_end": "2022-10-09T10:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.229,
                "period_end": "2022-10-09T09:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.037,
                "period_end": "2022-10-09T09:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.799,
                "period_end": "2022-10-09T08:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.516,
                "period_end": "2022-10-09T08:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.192,
                "period_end": "2022-10-09T07:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0.843,
                "period_end": "2022-10-09T07:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0.488,
                "period_end": "2022-10-09T06:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0.159,
                "period_end": "2022-10-09T06:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T05:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T05:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T04:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T04:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T03:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T03:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T02:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T02:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T01:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T01:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T00:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T00:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T23:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T23:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T22:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T22:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T21:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T21:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T20:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T20:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T19:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T19:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T18:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T18:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T17:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T17:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T16:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0.089,
                "period_end": "2022-10-08T16:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0.382,
                "period_end": "2022-10-08T15:30:00.0000000Z",
                "period": "PT30M"
            }
        ]
    },
    {
        "estimated_actuals": [
            {
                "pv_estimate": 0.766,
                "period_end": "2022-10-09T15:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.149,
                "period_end": "2022-10-09T15:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.49,
                "period_end": "2022-10-09T14:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.78,
                "period_end": "2022-10-09T14:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.018,
                "period_end": "2022-10-09T13:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.199,
                "period_end": "2022-10-09T13:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.029,
                "period_end": "2022-10-09T12:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.624,
                "period_end": "2022-10-09T12:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.237,
                "period_end": "2022-10-09T11:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.482,
                "period_end": "2022-10-09T11:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.461,
                "period_end": "2022-10-09T10:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.372,
                "period_end": "2022-10-09T10:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.229,
                "period_end": "2022-10-09T09:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 2.037,
                "period_end": "2022-10-09T09:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.799,
                "period_end": "2022-10-09T08:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.516,
                "period_end": "2022-10-09T08:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 1.192,
                "period_end": "2022-10-09T07:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0.843,
                "period_end": "2022-10-09T07:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0.488,
                "period_end": "2022-10-09T06:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0.159,
                "period_end": "2022-10-09T06:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T05:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T05:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T04:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T04:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T03:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T03:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T02:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T02:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T01:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T01:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T00:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-09T00:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T23:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T23:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T22:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T22:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T21:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T21:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T20:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T20:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T19:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T19:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T18:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T18:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T17:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T17:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0,
                "period_end": "2022-10-08T16:30:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0.089,
                "period_end": "2022-10-08T16:00:00.0000000Z",
                "period": "PT30M"
            },
            {
                "pv_estimate": 0.382,
                "period_end": "2022-10-08T15:30:00.0000000Z",
                "period": "PT30M"
            }
        ]
    }
]

```

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [9 October 2022 15:53 UTC](https://discourse.nodered.org/t/sum-of-repeated-values/68768/4 "2022-10-09T15:53:23Z")

</div>

I am still guessing that that info is in payload  
`$sum($$.payload[0].estimated_actuals.pv_estimate)`

Please show image of debug showing full msg object, if this did not work.

---

<div class="post-metadata">

**Author:** ![oliver.es](https://avatars.discourse-cdn.com/v4/letter/o/dc4da7/32.png) [@oliver.es](https://discourse.nodered.org/u/oliver.es)\
**Post date:** [9 October 2022 15:54 UTC](https://discourse.nodered.org/t/sum-of-repeated-values/68768/5 "2022-10-09T15:54:27Z")

</div>

Yes, but "estimated" array is four times, and each have 48 "pv\_estimate" records.  
$sum($$.payload[0].estimated\_actuals.pv\_estimate) works for only first

---

<div class="post-metadata">

**Author:** ![oliver.es](https://avatars.discourse-cdn.com/v4/letter/o/dc4da7/32.png) [@oliver.es](https://discourse.nodered.org/u/oliver.es)\
**Post date:** [9 October 2022 16:03 UTC](https://discourse.nodered.org/t/sum-of-repeated-values/68768/6 "2022-10-09T16:03:55Z")

</div>

![Snímek obrazovky 2022-10-09 v 18.03.30](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/a/9a06530197270fe568f6d4b9b30aaf130b35171f.png)

```auto
[{"estimated_actuals":[{"pv_estimate":0.766,"period_end":"2022-10-09T15:30:00.0000000Z","period":"PT30M"},{"pv_estimate":1.149,"period_end":"2022-10-09T15:00:00.0000000Z","period":"PT30M"},{"pv_estimate":1.49,"period_end":"2022-10-09T14:30:00.0000000Z","period":"PT30M"},{"pv_estimate":1.78,"period_end":"2022-10-09T14:00:00.0000000Z","period":"PT30M"},{"pv_estimate":2.018,"period_end":"2022-10-09T13:30:00.0000000Z","period":"PT30M"},{"pv_estimate":2.199,"period_end":"2022-10-09T13:00:00.0000000Z","period":"PT30M"},{"pv_estimate":2.029,"period_end":"2022-10-09T12:30:00.0000000Z","period":"PT30M"},{"pv_estimate":1.624,"period_end":"2022-10-09T12:00:00.0000000Z","period":"PT30M"},{"pv_estimate":2.237,"period_end":"2022-10-09T11:30:00.0000000Z","period":"PT30M"},{"pv_estimate":2.482,"period_end":"2022-10-09T11:00:00.0000000Z","period":"PT30M"},{"pv_estimate":2.461,"period_end":"2022-10-09T10:30:00.0000000Z","period":"PT30M"},{"pv_estimate":2.372,"period_end":"2022-10-09T10:00:00.0000000Z","period":"PT30M"},{"pv_estimate":2.229,"period_end":"2022-10-09T09:30:00.0000000Z","period":"PT30M"},{"pv_estimate":2.037,"period_end":"2022-10-09T09:00:00.0000000Z","period":"PT30M"},{"pv_estimate":1.799,"period_end":"2022-10-09T08:30:00.0000000Z","period":"PT30M"},{"pv_estimate":1.516,"period_end":"2022-10-09T08:00:00.0000000Z","period":"PT30M"},{"pv_estimate":1.192,"period_end":"2022-10-09T07:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0.843,"period_end":"2022-10-09T07:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0.488,"period_end":"2022-10-09T06:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0.159,"period_end":"2022-10-09T06:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T05:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T05:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T04:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T04:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T03:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T03:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T02:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T02:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T01:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T01:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T00:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T00:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T23:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T23:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T22:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T22:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T21:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T21:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T20:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T20:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T19:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T19:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T18:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T18:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T17:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T17:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T16:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0.089,"period_end":"2022-10-08T16:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0.382,"period_end":"2022-10-08T15:30:00.0000000Z","period":"PT30M"}]},{"estimated_actuals":[{"pv_estimate":0.766,"period_end":"2022-10-09T15:30:00.0000000Z","period":"PT30M"},{"pv_estimate":1.149,"period_end":"2022-10-09T15:00:00.0000000Z","period":"PT30M"},{"pv_estimate":1.49,"period_end":"2022-10-09T14:30:00.0000000Z","period":"PT30M"},{"pv_estimate":1.78,"period_end":"2022-10-09T14:00:00.0000000Z","period":"PT30M"},{"pv_estimate":2.018,"period_end":"2022-10-09T13:30:00.0000000Z","period":"PT30M"},{"pv_estimate":2.199,"period_end":"2022-10-09T13:00:00.0000000Z","period":"PT30M"},{"pv_estimate":2.029,"period_end":"2022-10-09T12:30:00.0000000Z","period":"PT30M"},{"pv_estimate":1.624,"period_end":"2022-10-09T12:00:00.0000000Z","period":"PT30M"},{"pv_estimate":2.237,"period_end":"2022-10-09T11:30:00.0000000Z","period":"PT30M"},{"pv_estimate":2.482,"period_end":"2022-10-09T11:00:00.0000000Z","period":"PT30M"},{"pv_estimate":2.461,"period_end":"2022-10-09T10:30:00.0000000Z","period":"PT30M"},{"pv_estimate":2.372,"period_end":"2022-10-09T10:00:00.0000000Z","period":"PT30M"},{"pv_estimate":2.229,"period_end":"2022-10-09T09:30:00.0000000Z","period":"PT30M"},{"pv_estimate":2.037,"period_end":"2022-10-09T09:00:00.0000000Z","period":"PT30M"},{"pv_estimate":1.799,"period_end":"2022-10-09T08:30:00.0000000Z","period":"PT30M"},{"pv_estimate":1.516,"period_end":"2022-10-09T08:00:00.0000000Z","period":"PT30M"},{"pv_estimate":1.192,"period_end":"2022-10-09T07:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0.843,"period_end":"2022-10-09T07:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0.488,"period_end":"2022-10-09T06:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0.159,"period_end":"2022-10-09T06:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T05:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T05:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T04:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T04:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T03:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T03:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T02:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T02:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T01:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T01:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T00:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T00:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T23:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T23:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T22:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T22:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T21:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T21:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T20:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T20:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T19:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T19:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T18:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T18:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T17:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T17:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T16:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0.089,"period_end":"2022-10-08T16:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0.382,"period_end":"2022-10-08T15:30:00.0000000Z","period":"PT30M"}]},{"estimated_actuals":[{"pv_estimate":0.766,"period_end":"2022-10-09T15:30:00.0000000Z","period":"PT30M"},{"pv_estimate":1.149,"period_end":"2022-10-09T15:00:00.0000000Z","period":"PT30M"},{"pv_estimate":1.49,"period_end":"2022-10-09T14:30:00.0000000Z","period":"PT30M"},{"pv_estimate":1.78,"period_end":"2022-10-09T14:00:00.0000000Z","period":"PT30M"},{"pv_estimate":2.018,"period_end":"2022-10-09T13:30:00.0000000Z","period":"PT30M"},{"pv_estimate":2.199,"period_end":"2022-10-09T13:00:00.0000000Z","period":"PT30M"},{"pv_estimate":2.029,"period_end":"2022-10-09T12:30:00.0000000Z","period":"PT30M"},{"pv_estimate":1.624,"period_end":"2022-10-09T12:00:00.0000000Z","period":"PT30M"},{"pv_estimate":2.237,"period_end":"2022-10-09T11:30:00.0000000Z","period":"PT30M"},{"pv_estimate":2.482,"period_end":"2022-10-09T11:00:00.0000000Z","period":"PT30M"},{"pv_estimate":2.461,"period_end":"2022-10-09T10:30:00.0000000Z","period":"PT30M"},{"pv_estimate":2.372,"period_end":"2022-10-09T10:00:00.0000000Z","period":"PT30M"},{"pv_estimate":2.229,"period_end":"2022-10-09T09:30:00.0000000Z","period":"PT30M"},{"pv_estimate":2.037,"period_end":"2022-10-09T09:00:00.0000000Z","period":"PT30M"},{"pv_estimate":1.799,"period_end":"2022-10-09T08:30:00.0000000Z","period":"PT30M"},{"pv_estimate":1.516,"period_end":"2022-10-09T08:00:00.0000000Z","period":"PT30M"},{"pv_estimate":1.192,"period_end":"2022-10-09T07:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0.843,"period_end":"2022-10-09T07:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0.488,"period_end":"2022-10-09T06:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0.159,"period_end":"2022-10-09T06:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T05:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T05:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T04:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T04:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T03:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T03:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T02:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T02:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T01:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T01:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T00:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T00:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T23:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T23:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T22:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T22:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T21:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T21:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T20:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T20:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T19:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T19:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T18:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T18:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T17:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T17:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T16:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0.089,"period_end":"2022-10-08T16:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0.382,"period_end":"2022-10-08T15:30:00.0000000Z","period":"PT30M"}]},{"estimated_actuals":[{"pv_estimate":0.766,"period_end":"2022-10-09T15:30:00.0000000Z","period":"PT30M"},{"pv_estimate":1.149,"period_end":"2022-10-09T15:00:00.0000000Z","period":"PT30M"},{"pv_estimate":1.49,"period_end":"2022-10-09T14:30:00.0000000Z","period":"PT30M"},{"pv_estimate":1.78,"period_end":"2022-10-09T14:00:00.0000000Z","period":"PT30M"},{"pv_estimate":2.018,"period_end":"2022-10-09T13:30:00.0000000Z","period":"PT30M"},{"pv_estimate":2.199,"period_end":"2022-10-09T13:00:00.0000000Z","period":"PT30M"},{"pv_estimate":2.029,"period_end":"2022-10-09T12:30:00.0000000Z","period":"PT30M"},{"pv_estimate":1.624,"period_end":"2022-10-09T12:00:00.0000000Z","period":"PT30M"},{"pv_estimate":2.237,"period_end":"2022-10-09T11:30:00.0000000Z","period":"PT30M"},{"pv_estimate":2.482,"period_end":"2022-10-09T11:00:00.0000000Z","period":"PT30M"},{"pv_estimate":2.461,"period_end":"2022-10-09T10:30:00.0000000Z","period":"PT30M"},{"pv_estimate":2.372,"period_end":"2022-10-09T10:00:00.0000000Z","period":"PT30M"},{"pv_estimate":2.229,"period_end":"2022-10-09T09:30:00.0000000Z","period":"PT30M"},{"pv_estimate":2.037,"period_end":"2022-10-09T09:00:00.0000000Z","period":"PT30M"},{"pv_estimate":1.799,"period_end":"2022-10-09T08:30:00.0000000Z","period":"PT30M"},{"pv_estimate":1.516,"period_end":"2022-10-09T08:00:00.0000000Z","period":"PT30M"},{"pv_estimate":1.192,"period_end":"2022-10-09T07:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0.843,"period_end":"2022-10-09T07:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0.488,"period_end":"2022-10-09T06:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0.159,"period_end":"2022-10-09T06:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T05:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T05:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T04:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T04:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T03:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T03:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T02:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T02:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T01:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T01:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T00:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-09T00:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T23:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T23:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T22:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T22:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T21:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T21:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T20:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T20:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T19:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T19:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T18:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T18:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T17:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T17:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0,"period_end":"2022-10-08T16:30:00.0000000Z","period":"PT30M"},{"pv_estimate":0.089,"period_end":"2022-10-08T16:00:00.0000000Z","period":"PT30M"},{"pv_estimate":0.382,"period_end":"2022-10-08T15:30:00.0000000Z","period":"PT30M"}]}]

```

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [9 October 2022 16:10 UTC](https://discourse.nodered.org/t/sum-of-repeated-values/68768/7 "2022-10-09T16:10:06Z")

</div>

I saw your image as one array. Then your copyable object was so large i did not see the 4 arrays. Maybe next time cut it down to 3 objects per array element for testing.

Anyway

For 4 separate array results `$$.payload.$sum($.estimated_actuals.pv_estimate)`

For the total of all `$sum($$.payload[*].estimated_actuals.pv_estimate)`

---

<div class="post-metadata">

**Author:** ![oliver.es](https://avatars.discourse-cdn.com/v4/letter/o/dc4da7/32.png) [@oliver.es](https://discourse.nodered.org/u/oliver.es)\
**Post date:** [9 October 2022 16:16 UTC](https://discourse.nodered.org/t/sum-of-repeated-values/68768/8 "2022-10-09T16:16:01Z")

</div>

It works! Thank you for saving lot of my time.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [23 October 2022 16:16 UTC](https://discourse.nodered.org/t/sum-of-repeated-values/68768/9 "2022-10-23T16:16:25Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
