ValueCount()

Format

ValueCount(Arg1)

Returns

Returns the number of values a variable contains. In case of single-value variables, this always means 1. In case of collection variables, the number of values the collection contains will be returned.

Inputs

Arg1: The variable whose value count should returned.
Behaviour: Required
Dimensions: Collection, SingleValue, MultiCollection
Valid data types: Null, Boolean, DateTime, Decimal, Integer, String, Duration, Error

How to format data types

Examples

Expression: ValueCount(5)
Result: Returns 1.

Expression: ValueCount({Tag1})
Result: Returns the number of values that were fetched for {Tag1}.

Release History

  • ValueCount() 4.6.5
    • Changed Arg1 parameter to support MultiCollection values.
  • ValueCount() 4.5.1
    • Initial version

Comments are closed