Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
nikhilgarg
Specialist II
Specialist II

Prob in Rangesum !!

HEy,

In following Range function , if we use any numeric value like in first case then will it olways give sum??

And also in second case if we use character with numeric , will it olways give number ??

rangesum (1,2,4)returns 7
rangesum (1,'xyz')returns 1
1 Solution

Accepted Solutions
saumyashah90
Specialist
Specialist

When you use RangeSum()

It treats all Non Numeric values as 0.

So rangesum(1,'xyz') = rangesum(1,0) both will return 1

View solution in original post

3 Replies
anbu1984
Master III
Master III

rangesum (1,'1xyz') returns 1

saumyashah90
Specialist
Specialist

When you use RangeSum()

It treats all Non Numeric values as 0.

So rangesum(1,'xyz') = rangesum(1,0) both will return 1

nikhilgarg
Specialist II
Specialist II
Author

HEy,

Thanks