Create sum of several matrix questions | XM Community
Skip to main content

Hi there!
I have a matrix question with 5 items and I just want to create some kind of index out of the 6 statements but it does not work. Not even this simple version (later it will be more complex but not even this "easy" version is working).
It should not be that hard but I just don't get it :(
Already tried many variations...

var brandindex= "";
brandindex=
("${q://QID122_1//SelectedAnswer/Recode/1}"-1)+
("${q://QID122_2//SelectedAnswer/Recode/2}"-1)+
("${q://QID122_3//SelectedAnswer/Recode/3}"-1)+
("${q://QID122_4//SelectedAnswer/Recode/4}"-1)+
("${q://QID122_5//SelectedAnswer/Recode/5}"-1)+
("${q://QID122_6//SelectedAnswer/Recode/6}"-1)
Qualtrics.SurveyEngin/ChoiceNumericEntryValuee.setEmbeddedData( "brandindex", brandindex);
The result is -6, so it ignores the Variables
Thank you for your support!!!
Cheers,
Christine

Hi TiBa,
I actually answered this in a duplicate question - I'm not sure why you're using two accounts to ask this one question.
All the best!


Hi! That is super weird. I do not have another account nor is my name Jessi nor do I live in Alaska: Maybe Jessi had a similar problem and found my post and reposted it? No idea... But thank you for your response, Tine


Hi there, TiBa and bgooldfed -- apologies for the confusion. The other post was a spam post. Unfortunately, the spammer just copied TiBa's question and embedded hyperlinks to spam sites in it in their other post. We apologize for any confusion or frustration this may have caused.


Leave a Reply