Invalid Expression | XM Community
Skip to main content
I have a fairly comprehensive Coaching Feedback Form that scores a participant. The form (survey) is broken down into six sessions that are chosen by Multiple Choice question.



Each session can score the following behaviors: Observe, Engage, Assist and Promote.



The end of the form for that session is to display the scores for each behavior. Since the participant is graded several times on Assist and Promote, each of those should be averaged prior to display.



I can get each of the individuals to display. However, I need to take all of those values, add them up and then average the result. I keep getting an Invalid Expression error (see screenshot) for the Total Score (expression is shown below). Any ideas on what to do and how to fix this?



Total Developmental Rating



Observe: ${gr://SC_bNqviYbjBYm2YTj/Score}

Engage: ${gr://SC_5jBqxSNMOYoQqQ5/Score}

Assist: ${gr://SC_8cOLHlZL02rKZuJ/WeightedMean}

Promote: ${gr://SC_3w6lDX7VzJbn5SB/WeightedMean}





Total Score: $e{ ( gr://SC_bNqviYbjBYm2YTj/Score + gr://SC_5jBqxSNMOYoQqQ5/Score + gr://SC_8cOLHlZL02rKZuJ/WeightedMean + gr://SC_3w6lDX7VzJbn5SB/WeightedMean ) / 4 }



!
@Jon_Hurtado I am most definitely not a coder, but from my limited experience, could your parentheses be off? I think each of the four expressions you are trying to sum need to be set off by a set of closed parentheses -- that may be why you're getting the error message. I've marked up your post so it gets more attention -- I hope it helps!
Thanks for responding. It turned out to be HTML formatting. Once I removed the formatting, it worked just fine.

Leave a Reply