AMQL Docs
AQL ReferenceTypes

Number

AQL's number type holds integers, floats, and doubles for use as a dimension or measure, with comparison operators and number formatting in definitions.

Definition

A numeric value, represented as an numeric, integer, float, or double. It can be used as dimension or measure type. The number type can include positive and negative values, as well as decimal points.

dimension order_value {
  label: "Order Value"
  type: "number"
}

measure revenue {
  label: "Revenue"
  type: "number"
}

Number Operator

OperatorExampleDescription
==

is
order_items.discount == 0.5

order_items.discount is 0.5
Equal to
!=

is not
order_items.discount != 1

order_items.discount is not 1
Not equal to
>order_items.discount > 0.5Greater than
<order_items.discount < 0.5Less than
is nullorder_items.discount is nullInclude if null
not nullorder_items.discount not nullInclude if not null

Number Format

For the number formating in the dimension/measure defintion, please refer to AML Number Format

On this page