Using the COUNT Function on Question Scores
The COUNT function, combined with the FILTER function, enables you to calculate the number of questions that have achieved a specific risk score within a workflow.
Prerequisites
-
Question Set Setup
Ensure at least one question set has been configured in the workflow. -
Scoring Setup
Scoring must be enabled and configured within the question set. Follow this guide to set up scoring.
Syntax and Usage
The COUNT and FILTER functions work together to identify and count the questions that meet the specified scoring criteria.
Syntax Example
Explanation:
-
#[question]: Accesses the questions in the workflow. -
[Name Of Question Set]: Refers to the specific question set (e.g., Design and Operating Tests). -
[scores]: Accesses the scores of the answered questions. -
scoreValue: The specific score you are counting (e.g., 5).
This function can be used for both automatically-scored and manually scored questions.
Example
To count the number of questions in the Design and Operating Tests question set that have a score of 5, the calculation would look like this:
Inputs
| Input | Description |
|---|---|
#[question] |
Syntax for accessing questions in the workflow. |
[Name Of Question Set] |
The designated name of the question set being referenced. |
[scores] |
Accesses the scores of the answered questions in the specified question set. |
Returns
The COUNT function returns a number representing the total questions with the specified score across all categories within the workflow.
Note: The count is calculated across all question categories within the workflow, not just a specific subset unless filtered accordingly.
This approach ensures accurate identification of questions meeting the scoring criteria.