Rounding piped text | XM Community
Skip to main content
Solved

Rounding piped text


Screen Shot 2021-03-28 at 10.02.16 AM.pngHello,
I'm trying to round the piped text WeightedMean to 2 decimal places. It works totally fine when it is in a custom end of survey message -- but when I insert the same code into an email trigger message, it doesn't seem to work at all.

Here's what I've done:

 $e{ round (gr://SC_719uI6wyHgEEi7c/WeightedMean , 2 ) }

Even when I copy and paste the message from my library into the email trigger -- the end of survey message displays no problem but the email that I receive from the trigger gives me an invalid expression message for the weighted mean.

Best answer by TomG

You can save the rounded values as new embedded data fields at the end of the survey flow, then pipe them into your email message.

View original

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5926 replies
  • Answer
  • March 28, 2021

You can save the rounded values as new embedded data fields at the end of the survey flow, then pipe them into your email message.


  • Author
  • 2 replies
  • March 28, 2021

Thanks so much!! I am relatively new to anything other than basic surveys in Qualtrics, and this totally solved my problem!


Leave a Reply