How To Work On Sample 1

This recipe demonstrates how to calculate the accumulative summation within composite datasource.

Steps taken:

  1. Create a composite datasource (Summation.ds). Drag and drop test.ds into it as the beginning of the flow.
  2. Add a “Derivative”. Add the following column in the “Derivative > Derived” tab:Name=Sum, Type=Float, Value=sum += test
  3. Enter the following script into the “Script” tab of the composite datasource:var sum = 0;

AccumulativeSummation-Sample1

To download the necessary files for this recipe, refer to the attached ZIP file.
Sample.zip