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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

RANGESUM() function ?

Bonjour ;

What is the Result of :

RANGESUM(1, 2, 'abc', NULL(), 5)
1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

8

RangeSum will add all numeric value and all non-numeric will be considered as 0

View solution in original post

5 Replies
MK_QSL
MVP
MVP

8

RangeSum will add all numeric value and all non-numeric will be considered as 0

senpradip007
Specialist III
Specialist III

8 would be the answer

jvishnuram
Partner - Creator III
Partner - Creator III

Result is 8

VJ
Not applicable
Author

Helpful

Not applicable
Author

Hi,

Rangesum will treat all non-numeric values as 0.

rangesum (1,2,4)returns 7
rangesum (1,'xyz')returns 1
rangesum (null( ))returns 0
rangesum (above(count(x),-1,3))returns the sum of the three results of the count(x) function evaluated on the row below the current row, the current row and the row above the current row.