count unique values on field
This block is part of the array group and was last modified in core v10.4.28.
Field Selection Required
This block relies on a field that you select to perform its data actions. You must manually select the field you want to use in your flow using the field selector modal. To access the modal, click the white button on the block.
count unique values on field v10.4.28 Returns the number of unique items for the given field and its values.
- Array required
arrayThe array containing the items for which you want to count unique values.
- Number
numberThe count of unique items for the specified field and its values.
Counts distinct values of the selected field across the object items, comparing by TEXT representation (values that print identically collapse into one). Items that are not objects or lack the field contribute nothing. Outputs 0 for a missing array or when no field is selected.
distinct |
cardinality |
A typical wiring for count unique values on field: the number out pin feeds cast to value.

Version history
Introduced in v10.4.28.
Back to
array Return to the main group to view all sub-groups Back to array Return to the group to view all blocks within this group
