Create sum of several matrix questions | XM Community
Solved

Create sum of several matrix questions


Userlevel 2
Badge +2

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

icon

Best answer by bgooldfed 18 May 2022, 08:28

View original

3 replies

Userlevel 5
Badge +25

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!

Userlevel 2
Badge +2

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

Userlevel 7
Badge +32

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