Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
vivientexier
Partner - Creator II
Partner - Creator II

How to sum null values ?

How do I sum different fields even if some of them are "null" ?

When I do it something like these :

45 + "Null value" + 75 I get "Null value" but I want 120.

1 Solution

Accepted Solutions
ecahen
Partner - Contributor II
Partner - Contributor II

Hi Vivien,

You should not sum with the "+" sign. Use the "RangeSum()" function.

Try RangeSum(45, "Null Value", 75), you will get your result.

View solution in original post

1 Reply
ecahen
Partner - Contributor II
Partner - Contributor II

Hi Vivien,

You should not sum with the "+" sign. Use the "RangeSum()" function.

Try RangeSum(45, "Null Value", 75), you will get your result.