I have a VizLib Pivot Table with a few Dimensions and Values - the Table is grouped by the A and/or B column, the table inserts Totals after each group.
I need to calculate the value of the totals by formula - so far I've tried things like aggr(sum(C), A, B) and sum(aggr(...)) and various combinations, sum({1} C), sum(all C), sum(total C), etc etc.
RangeSum() doesn't help me either, because you can't ask it to sum the current group.