Customize

Count the Options Selected in Table by Providing Conditions

Summary

Count the options selected in the specified fields of the table rows matching the specified conditions. You can reuse the result of the count in other Actions.

How to use

Count the total number of selections in fields where multiple selections are possible, such as checkboxes and user selections. If there are no selections, it will be zero.

Parameters

Set Field to Count, How to Count the Same Value, Field for Judgement, Criteria, Comparison Value, and Target Field (Optional).

Field to Count

Select the field in the table to count the selections. This parameter accepts the following field types:

  • Check box
  • Multi-choice
  • User selection
  • Department selection
  • Group selection

How to Count the Same Value

Count same value Separately: Count the number of selections regardless of the selected values.

Count same value as one: Count as one, even if there are two or more rows with the same value selected. This means it will tally the total number of unique values selected.

For example, there are three rows in the table, and the value of the “Field to Count” is as follows:

  • Line 1: A, B, C
  • Line 2: X
  • Line 3: Y, Z, A

The results are as follows:

    • When “Count the same value separately,” the total count is 7 (3 + 3 + 1).
    • When “Count the same value as one,” the total count is 6, representing six types: A, B, C, X, Y, and Z. The letter “A” appears twice,

but it counts as one instance.

Field for Judgement

Select the fields to be used for condition evaluation from the fields in the table.

Criteria

Select a criteria from the options.

Comparison value

Enter the value to compare the field’s value. The parameter accepts the following inputs:

  • Direct input
  • Formulas (for details, refer to How to Write Formulas)
    • However, you cannot reference fields in the table from this expression.

Target Field (Optional)

Use this parameter to set the results to another field. You can leave this parameter empty to use the calculation result in another action without setting it to any field.

This parameter accepts the following field types: Fields in tables cannot be selected.

  • Text
  • Number
  • Text area
  • Rich text

Precautions

If there are no rows in the table that meet the criteria, the result will be zero. Also, if there are no rows in the table, the result will be zero.

You cannot select the action for “when there are no rows that meet the conditions” such as “Calculate Average of Fields in Records by Providing Conditions.”