Skip to Content
avatar image
Former Member

How to create a variable which sums a column

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 16, 2017 at 11:15 AM

    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
    Add comment
    10|10000 characters needed characters exceeded