Hub
Pricing About
ComponentComponent

Cumulative Sum for Non Contiguous Grouping

takbb profile image
Draft Latest edits on 
Oct 10, 2022 1:13 PM
Drag & drop
Like
Use or download
Calculates the cumulative sum of a given value column, with the group defined by the grouping column. This component is likely to use more memory than the basic Cumulative Sum for Grouping component as it handles non-contiguous groupings. It does not affect row order but keeps a running total for each named group irrespective of whether grouped rows are interleaved. e.g. A 10 B 10 B 20 A 20 B 30 C 10 C 20 would result in A 10 10 B 10 10 B 20 30 A 20 30 B 30 60 C 10 10 C 20 30 @takbb 08 October 2022

Component details

Input ports
  1. Type: Table
    Table containing the data for which a cumulative aggregation (sum) is required
Output ports
  1. Type: Table
    Table with additional column containing the calculated cumulative data

Used extensions & nodes

Created with KNIME Analytics Platform version 4.6.2
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.6.2

    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.6.0

    knime
  • Go to item
    KNIME Quick FormsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.6.0

    knime

This component does not have nodes, extensions, nested components and related workflows

Legal

By using or downloading the component, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits