Calculating Based on Recode Values | XM Community
Skip to main content

Hello, I am trying to create a question to calculate a “Risk Score” based on answers to previous questions.

The previous questions contain recode values that are already in Qualtrics. Here is the intended calculation for Risk Score: If the count of the recode values is >= 17, then take the sum of the recode values. Otherwise, return “N/A” to the user. If anyone could provide any guidance as I am not proficient in Java Script, that would be greatly appreciated!

We can also use Math operation for this and branch logic to store ‘N/A’ or score in an embedded data.


@Shashi Thank you, that is helpful to calculate the sum of the recode values and store “N/A”. However, I am unsure how to utilize math operations to count the recode values prior to summing the values. 


Leave a Reply