So I already have the running total field.
I used that for the crosstab.
I did remove grand totals as that was useless due to cumulative / running totals.
Following what you have I am trying following code:
local numbervar i;
local numbervar temp;
temp := 0;
for i:=1 to CurrentRowIndex do
temp := temp + GridValueAt(i,CurrentColumnIndex,0);
GridValueAt(0,CurrentColumnIndex,1)+temp
But getting error:
"Unable to compute the return type because the Embedded Summary is referring to itself"
And it has a highlight on the 1 in the last line. I changed it to 0 and that got rid of error.
For some reason I am not getting what I expect so I will have to play with it some. But this should get me there.
Mine has months as the row on left and cost type as the column.
Thanks.