I am trying to use the values from a Matrix Constant Sum Total Row as embedded data. See the image below, where I would like to be able to store and use the 300 and the 30 from the top table and also those values when the total row is not displayed in the second table (ie., 700 and 70).
I have tried modifying the code from this post, but I can’t seem to properly store these values with anything I have tried. I have also tried storing the individual values using the code below, but also unsuccessfully. Can anyone offer any tips or guidance on what I might be doing wrong?
var col1sum = parseInt("${q://QID132/???}")
Qualtrics.SurveyEngine.setEmbeddedData('col1sum', col1sum);