For the complete documentation index, see llms.txt. This page is also available as Markdown.

NQL arithmetic operators

Use arithmetic operators to calculate field values inNQL compute, NQL summarize and NQL summarize by clauses.

Operator
Definition
Example

+

Addition

column_name.sum() + 10

-

Subtraction

count() - 10

/

Division

count() / 10

*

Multiplication

count() * 0.1

( )

Grouping of operators

(sum() / count()) / 100

Last updated

Was this helpful?