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

Create sum of several matrix questions

  • May 12, 2022
  • 3 replies
  • 14 views

Forum|alt.badge.img+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

Best answer by bgooldfed

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!

3 replies

bgooldfed
Level 4 ●●●●
Forum|alt.badge.img+25
  • Level 4 ●●●●
  • Answer
  • May 18, 2022

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!


Forum|alt.badge.img+2
  • Author
  • Level 1 ●
  • May 18, 2022

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


MichaelC
Administrator
Forum|alt.badge.img+40
  • Administrator
  • May 23, 2022

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.