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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

rangesum?

rangesum(filed,0)   ?   what it returns

Labels (1)
1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

if field is numeric

whatever value of field, it will be returned

if Field is alphabate

0

If Field is Null

Null

View solution in original post

2 Replies
MK_QSL
MVP
MVP

if field is numeric

whatever value of field, it will be returned

if Field is alphabate

0

If Field is Null

Null

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

"If Field is Null

Null"

I don't think that statement is true. From the Help for RangeSum():

"As opposed to the + operator, rangesum will treat all non-numeric values as 0. "

A Null in the Field vale will be treated as 0, and RangeSum() will return 0 in the example given.

-Rob