how to cal sum of n rows using stage variables,
i searched the forum,but could not find
Need to capture a running total at the end of a transform
Moderators: chulett, rschirm, roy
Running total is easy. If you have a column In.Col1 that you want a running total on, create a stage variable "RunningTotal" and just assign "RunningTotal + In.Col1" to it and output that to a column.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
Running total is easy. If you have a column In.Col1 that you want a running total on, create a stage variable "RunningTotal" and just assign "RunningTotal + In.Col1" to it and output that to a column.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>