Set Quota and Piped Text based off of Response? | XM Community
Skip to main content
I have a set of questions that asks the participant about the types of healthcare visits they have received in the last 6 months.

e.g.

How many of the following healthcare visits have you received?

Office Visits [ ]

Outpatient at hospital [ ]

Inpatient at hospital (i.e. planned surgery) [ ]

Emergency visit [ ]



Participant can enter a number response in each of the boxes (where the number is summed in embedded data). For example:

Office visits [ 6 ]

Outpatient [ 1 ]

Inpatient [ 0 ]

Emergency [ 1 ]



I would like to set a quota using a randomly selected response where their response is not 0 (e.g. can be either Office Visit, Outpatient or Emergency, depending what is assigned via a randomizer)



!



In the survey, I would then like to pipe the quota text into my survey.

I have tried this in a few ways, and so far it does not appear to be fully functional. What could I be missing?
I'm a little confused by your question. Can you tell me what you want to limit with the quota?
I want to limit the visit reason to a set number:



e.g.

Office visits /100

Outpatient /100

Inpatient /100

Emergency /100



But since the original question is a multiple select, it has to be randomized to select one of the quotas and set it in the survey.
Gotcha! Okay, you'll want to set up a quota for each of those visit reasons. Then, where you currently have your existing branches, you'll want to put a branch above each of them with "If quota <name> not met".



To pipe in the number of each quota, use piped text:

!

Leave a Reply