Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there,
i am trying to create an extension that lists selected dimensions and measures as a simpe table.
This works out fine so far.
However, i would like to add a totals row where i sum up the values for every measure column and this is where i struggle. While looping through every row
this.backendApi.eachDataRow(function(rownum, row) {
and every cell in this row
$.each(row, function(key, cell) {
i seem to be able to sum up the total of all measures, but not per measure...
How could i do this ? Is there a simple method for this ? How could i tell that a cell in a row belongs to this measure, but another cell in the same row to another measure ?
Thanks a lot for some help on this!
Hi,
I'm not 100% shure, but I think you can request the data already with a total row in the data. So you don't have to calculate that.
bye
Konrad
Hi,
I'm not 100% shure, but I think you can request the data already with a total row in the data. So you don't have to calculate that.
bye
Konrad