Skip to main content

NumSum - script and chart function

Returns the numeric sum of 1 to N arguments. As opposed to the + operator, numsum will treat all non-numeric values as 0.

Information noteThe numsum function has been superseded by the RangeSum - script and chart function function. Although numsum can be used, it is not recommended.

Syntax:  

NumSum(expr1 [ , expr2, ... exprN ])

Examples and results:  

  • numsum( 1,2,4 ) returns 7
  • numsum( 1,'xyz' ) returns 1
  • numsum( null( ) ) returns 0

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: ampquestions@qlik.com