Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
hemeshreddy
Partner - Contributor III
Partner - Contributor III

Rangesum function error

Hi guys PFA,

In this for year 2016 i am getting wrong accumulated sum

Regards,

Hemesh

1 Solution

Accepted Solutions
Anil_Babu_Samineni

Use this?

RangeSum(above(TOTAL sum(Sale),0,RowNo(TOTAL)))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

10 Replies
Anil_Babu_Samineni

Which graph we need to look? There is 2 graphs

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
hemeshreddy
Partner - Contributor III
Partner - Contributor III
Author

second graph

Anil_Babu_Samineni

What's wrong here?

I used this?

RangeSum(Above(Sum(Sale),0,RowNo(TOTAL)))

And enable Full accumulation radio button

Capture.PNG

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
hemeshreddy
Partner - Contributor III
Partner - Contributor III
Author

i need without checking the full accumulation radio button.

Anil_Babu_Samineni

Use this?

RangeSum(above(TOTAL sum(Sale),0,RowNo(TOTAL)))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
hemeshreddy
Partner - Contributor III
Partner - Contributor III
Author

it is giving the correct result

May i know what is wrong in that expression which i written

Anil_Babu_Samineni

May be TOTAL Keyword missing, And one blog is there for the same. You can read that blog to understand whole

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
hemeshreddy
Partner - Contributor III
Partner - Contributor III
Author

after giving Total key word also it's giving wrong result,

can u share me the blog URL

Anil_Babu_Samineni

Read this?

What does the TOTAL qualifier do?

And, FFor explanation in my way is TOTAL keyword can store the TOTAL sales and then we are displaying to each row level until RowNo(TOTAL) -- How many rows?

And read this too Missing Manual - Above() and Below()

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful