Sum Values in a Data Repeater using a Data Flow
  • 12 Mar 2021
  • 1 Minute to read
  • Dark
    Light

Sum Values in a Data Repeater using a Data Flow

  • Dark
    Light

Article Summary

Example Lab Article
While Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released.


Overview

Example Lab Details

Version6.9.0
Root FolderExample Lab - Data Repeater Sum Value
Modules None
DependenciesNone

This Example Lab project demonstrates how to use a Data Flow to sum values in a data repeater.


Explanation

This Example Lab project sums the values of items in a data repeater and displays the sum on the Form. This build consists of a Form, a data repeater, a Data Flow, and a main Flow to run the Form. The Form contains the data repeater and allows the user to add/remove books from the list that the repeater shows. The books have a field for price and as books are added/removed, the sum of the price is calculated and displayed. This is accomplished with a Data Flow on the Form that takes the books in the repeater as input, sums the prices, and returns the sum as an output.

Reference Articles





Project Download

The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.9.0 or later using our Importing/Exporting article.




Was this article helpful?