distinctCountWithNull

Last update: 2024-01-29
  • Created for:
  • Experienced
    Developer

Counts the number of different values including the null values.

Note that the parameter <listObject> is not supported in this function.

Category

Aggregation

Function syntax

distinctCountWithNull(<listAny>)

Parameters

Parameter Type
listToProcess listString, listBoolean, listInteger, listDecimal, listDuration, listDateTime, listDateTimeOnly, listDateOnly

Signature and returned type

distinctCountWithNull(<listAny>)

Returns an integer.

Example

distinctCountWithNull([10,2,10,null])

Returns 3.

On this page