Hi all,
I am wanting to create a report template for one survey response of an audit, and i could like to use a syntax to count the total number of questions that have a select_one category, such as 'Compliant' or 'Not Compliant'. These aren't repeated questions, or in a group but needed for the whole survey.
I have tried the below Syntax but i am getting this error as i think it's looking for one field but i need it to count over all fields.
${Audit_Form | where:"select_one='Compliance (C)' " | stats:"count"}
Error: An error occurred when checking the report template. Failed to parse ${Audit_Form | where:"select_one='Compliance (C)' " | stats:"count"} since undefined field cannot be found in the parsing scope.
I think this is because i'm trying to calculate the number of compliances in one survey and not multiple, so i'm using the wrong syntax. The only other formular I've come across is count-selected(${question_one}) but that seems to require a specific question/field. Does anyone know of the correct Syntax to use please?