Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

column to column summation

Hi Friends,

I have set of values calculated as shown below...

DimensionABC
Bat537
Ball1072
Stumps324
Gloves253

From the above, i need to get the below result by summation of each column to column.. Kindly help

DimensionAA+BA+B+C
Bat55 + 3 = 85 + 3  + 7= 15
Ball1010 + 7 = 1710 + 7 + 2 = 19
Stumps33 + 2 = 53 + 2 + 4 = 9
Gloves22 + 5 = 72 + 5 + 3 = 10

Thanks in advance...

Ram

1 Solution

Accepted Solutions
Not applicable
Author

Hi friend,

I got the desired answer by using the below function :

rangesum(sum(value),Before(EXpressionLabel))

Thanks for replies.....

View solution in original post

5 Replies
sivarajs
Specialist II
Specialist II

Check the attached file

Not applicable
Author

thanks for reply sivaraj but actually the value A,B and C is also dynamic ..

i have to calculate the summation of BAT,BOWL induvidually for (say..Customer) A,B and C

and also have to show the summation of previouly calculated value with current value.

Tat;s the complexity involved in this case..

How can we rectify this.plz share if u hav idea..

Not applicable
Author

Once again, thanks for yr reply .

But those value A, B,C is dynamic value.It might have D for some cases and even E,F for some other..

That's depend on selection.

so, i cant use columns as suggested.

Kindly advice , how can we handle the above case..

Not applicable
Author

sorry, its not works for my case.... Checked yr last sample file.

In that label A , B and C  has no links for selection.

Lets group it as Customer where values of customer be A,B and C.

Have to calculate the summation of items based on the customer selected.

For example, if user choosen A and B alone, hav to show the details on A and B alone.I cant hardcore sum(A+B+C) in expression. its an dynamic value.

thanks for yr prompt reply..

Not applicable
Author

Hi friend,

I got the desired answer by using the below function :

rangesum(sum(value),Before(EXpressionLabel))

Thanks for replies.....