# Aggregation in loop

**URL:** <https://forum.knime.com/t/aggregation-in-loop/82413>\
**Category:** KNIME Analytics Platform\
**Created:** [August 30, 2024, 9:24am UTC](https://forum.knime.com/t/aggregation-in-loop/82413 "2024-08-30T09:24:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [August 30, 2024, 10:47am UTC](https://forum.knime.com/t/aggregation-in-loop/82413/2 "2024-08-30T10:47:08Z")

</div>

@b_bui firs there are these components by @takbb that can handle cumulative sums for KNIME

> **[Cumulative Sum for Grouping – takbb](https://hub.knime.com/takbb/spaces/Public/Components/Cumulative%20Sum%20for%20Grouping~7CeuJtkxXz9SuYr_/current-state)**
>
> Calculates the cumulative sum of a given value column, with the group defined by the grouping column. Note that this component does not perform any sorting of …

Then I [edited a recent workflow](https://forum.knime.com/t/fifo-stock-calculation/82403/3) and came up with this addition solution using recursive loops:

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/2/5/25a1b395288205aa409348b2b36c9e2bbf2162e3.png)

> **[Aggregation in Loop - Cumulative Sum - several approaches - KNIME Forum...](https://hub.knime.com/mlauber71/spaces/Forum/2024/Aggregation%20in%20Loop%20-%20Cumulative%20Sum%20-%20several%20approaches%20-%20KNIME%20Forum%20(82413)~U7k-GWJ07AN99IyD/current-state)**
>
> Aggregation in Loop - Cumulative Sum - several approaches - KNIME Forum (82413)

---

_[View the full topic](https://forum.knime.com/t/aggregation-in-loop/82413)._
