Pipe Variable | XM Community
Skip to main content
Solved

Pipe Variable

  • August 26, 2020
  • 1 reply
  • 6 views

I want to ask a text question about clients amount. Assuming his answer is 100 $,
I want to ask in the next question the following:
"Assume you invested 100$ (which is the input from the previous question), how much money you are willing to lose:
a) 80$ (meaning a formula of the input of 100$ multiply by 0.8)
b) 60$ (meaning a formula of the input of 100$ multiply by 0.6).

So basically I want both the question and choices to be adaptive.
Is it possible?

Best answer by bstrahin

Ys1980 yes assuming the first value is only numeric and the respondent is not entering the $ (the program will not read 100$ as a number and if it's not a number you can't do math functions on it).
See this page for how you pipe in text to the question: https://www.qualtrics.com/support/survey-platform/survey-module/editing-questions/piped-text/piped-text-overview/#PipingFromAPreviousQuestion
See this page on how to use math functions (for calculating your responses):
https://www.qualtrics.com/support/survey-platform/survey-module/editing-questions/piped-text/math-operations/#MathOperationsSyntax

1 reply

bstrahin
Level 6 ●●●●●●
Forum|alt.badge.img+38
  • Level 6 ●●●●●●
  • Answer
  • August 26, 2020

Ys1980 yes assuming the first value is only numeric and the respondent is not entering the $ (the program will not read 100$ as a number and if it's not a number you can't do math functions on it).
See this page for how you pipe in text to the question: https://www.qualtrics.com/support/survey-platform/survey-module/editing-questions/piped-text/piped-text-overview/#PipingFromAPreviousQuestion
See this page on how to use math functions (for calculating your responses):
https://www.qualtrics.com/support/survey-platform/survey-module/editing-questions/piped-text/math-operations/#MathOperationsSyntax