Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Not applicable

Totals Row

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!

1 Solution

Accepted Solutions
konrad_mattheis
Contributor III

Re: Totals Row

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

1 Reply
konrad_mattheis
Contributor III

Re: Totals Row

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

Community Browser