Skip to Content
0

How to create a variable which sums a column

Oct 13, 2017 at 08:13 AM

19

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Koen Hesters Oct 16, 2017 at 11:15 AM
0

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
Share
10 |10000 characters needed characters left characters exceeded