--- indicator: submitted elements: - type: Hidden name: count - type: Block tag: table elements: - type: Repeatable increment_field_names: 1 nested_name: SubBatches counter_name: count elements: - type: Hidden name: batch_uid - type: Block tag: tr elements: - type: Block tag: td elements: - type: Label name: batch_id - type: Block tag: td elements: - type: Label name: checkable - type: Block tag: td elements: - type: Select empty_first: 1 name: user_id model_config: resultset: User id_column: user_id label_column: user_name attributes: order_by: user_name - type: Block tag: td elements: - type: Label name: form_count - type: Block tag: td elements: - type: Label #right here i want sum(form.entered is not null) where batch_uid = current name: forms_entered - type: Block tag: td elements: - type: Label #and here, get sum of issues from forms in batch where batch_uid = current name: issues - type: Block tag: td elements: - type: Text name: forms_to_check - type: Block tag: td elements: - type: Text name: num_checked - type: Block tag: td elements: - type: Text name: errors - type: Block tag: td elements: - type: Text name: forms_wer