Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have a table like this;
What i want to do is sum up the values of a and c fields. But while summing up the a values i want to subtract b values from the sum of a. For example i want to see a = (10+15-5)=20 and c = (20+30+8). That's what i want to see as a result.
Any help would be appreciated.
Thanks.
Sum(a)-Sum(b)+Sum(c)
Create a table with:
Dimension: Valuelist('A','C')
Expression: If(Valuelist('A','C')='A',RangeSum(a,-b),Sum(c))
(A-B): Sum({<Field={'a'}>}Value) - Sum({<Field={'b'}>}Value)
(C): Sum({<Field={'c'}>}Value)
Hello,
do you resolve your problem? I have a similar question.
Thank you very much.