cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a variable which sums a column

Former Member
0 Kudos

Hello I am fairly new to Webi. Anyways...my question I am trying to create a variable by summing a column.

I then want to use this variable (the sum of a column) in each row. But when I try this, by adding the variable, the variable doesnt display as a sum of the whole column, but only the row It corresponds to. But I would like it to show the same value (ie the sum of the column) all the way down. thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

kohesco
Active Contributor
0 Kudos

Hi,

check this blog :

https://blogs.sap.com/2014/12/19/all-you-need-to-know-about-in-foreach-forall-context-operators/

To do a SUM not on each row you will need to set the level of calculation/sum as well