Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
prasadmundewadi
Contributor III
Contributor III

Using RangeSum??

This is my table

load * inline

[A, B

P,1

Q,2

R,3

S,4

T,5

U,6

V,7

W,8

X,9

Y,10

Z,11];

I want to show a result like this in a table:

  

A            BSum(below(B))
P165
Q263
R360
S456
T551
U645
V738
W830
X921
Y1011
Z110

the 3rd column is derived like this:

e.g.

for P (2+3+4....+11)

for Q (3+4+5...+11) etc.

How can I do this?

1 Solution

Accepted Solutions
sunny_talwar

Try this

=Sum(TOTAL B) - RangeSum(Above(TOTAL B, 1, RowNo(TOTAL)))


Capture.PNG

View solution in original post

1 Reply
sunny_talwar

Try this

=Sum(TOTAL B) - RangeSum(Above(TOTAL B, 1, RowNo(TOTAL)))


Capture.PNG