Skip to main content
Loading...
Skip to article
  • Qualtrics Platform
    Qualtrics Platform
  • Customer Journey Optimizer
    Customer Journey Optimizer
  • XM Discover
    XM Discover
  • Qualtrics Social Connect
    Qualtrics Social Connect

Combining Fields


Was this helpful?


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The feedback you submit here is used only to help improve this page.

That’s great! Thank you for your feedback!

Thank you for your feedback!


About Combining Fields

You can combine almost any 2 or more fields that you want. This can happen at any time before, during, or after data collection; just be careful not to delete any of the fields you are combining!

There are 2 different ways to decide what value the new, combined variable has:

  1. Concat: This is short for “concatenate.” When you select this option, you are choosing to link combined answers together.
    Example: You ask for the respondent’s favorite appetizer, main dish, and dessert. You choose to concatenate the answers with slashes ( / ), so the answer appears as Soup/Roast Beef/Cake.
  2. Coalesce: When you select this option, you can choose what order to check each field for values if one or more are empty.
    Example: You ask for the respondent’s favorite dish at the beginning of the survey, and then accidentally ask them again at the end. You decide that whatever answer they gave first is fine, but if they left that field blank, you want their last answer.

Need to make changes to variables you previously combined? See our Editing Custom Variables page.

Qtip: Once created, this field can be analyzed in Text iQ!

Qtip: If you are combining answer choices that have recode values, the combined variable will use the recode values instead of the answer choice text. For example, let’s say you ask respondents to pick a t-shirt size and color, and want to concat these responses together.
two questions in the survey editor
Each answer choice has a corresponding recode value which is accessible by clicking the gear icon next to the question.
the recode values window open in the survey editor
After concatenating these 2 fields, the resulting concat field has the respondent’s combined answers, except they are represented by the recode values instead of the choice text.
two variables have been combined in data & analysis. the combined variable uses the recode values of the original fields

Concatenating Variables

This option allows you to take 2 or more variables and link their values together into a list. In other words, instead of one overriding another, answers will appear “First Answer|Second Answer.” You do not have to use | as the delimiter.

Qtip: You can concatenate 2 – 20 fields at a time.
  1. Go to Data & Analysis.
    the create new field option in the tools dropdown in data and analysis
  2. Make sure you are in the Data section.
  3. Select Field Editor.
  4. Click Create Field.
    create field button in field editor
  5. Select Combine.
    a combine variable set to concat. comma is the delimiter and the selected fields are latitude and longitude
  6. Make sure Concat is selected.
  7. Name your variable.
  8. Choose your delimiter. This is the symbol or text that separates values.

    Qtip: A few extra facts about delimiters:

    • This doesn’t have to be a symbol, and can contain letters or numbers.
    • This field cannot be empty.
    • The spaces you see in the example are not representative of the final appearance. Answer will appear as a,b rather than a , b.
    • You cannot add extra spaces on either side of the delimiter(s), but you can add spaces in between delimiters. E.g., “and / or” is valid, but “ and / or ” is not since it begins and ends with an extra space.
  9. Select the first field that will appear in the list.
  10. Select the second field that will appear in the list.
  11. Click Add Field to add more fields.
    Qtip: You can also click the plus sign ( + ) next to a field to add a new field there.
  12. When you’re ready to create the variable, click Create Field.
  13. Click Review and Publish to save your changes.
    review and publish button
  14. Click Publish your Changes.
    publish your changes button

    Qtip: Click Data Table to return to your data table.
Attention: Your data may be temporarily unavailable while this variable is being created.
Qtip: Concatenated fields are always set to the “text value” type, even if you are using recode values. This cannot be changed, even when mapping the field to a CX Dashboard.

Coalescing Variables

To coalesce variables is to choose the order in which certain answers override others.

Only 1 value will be chosen at a time. If field (a) isn’t available, the answer will be (b), or continue working down the list until there’s an available field.

Qtip: You can only choose 2-5 fields.
  1. Go to Data & Analysis.
    the create new field option in the tools dropdown in data and analysis
  2. Make sure you are in the Data section.
  3. Select Field Editor.
  4. Click Create Field.
  5. Select Combine.
    a combine variable set to coalesce. two fields are selected; recipient first name and recipient last name
  6. Select Coalesce.
  7. Name your variable.
  8. Choose the field that your new variable should check for a value first.
  9. Choose the field your new variable should check for a value if (a) is empty.
  10. Click Add Field to add more fields.
    Qtip: You can also click the plus sign ( + ) next to a field to add a new field there.
  11. When you’re ready to create the variable, click Create Variable.
  12. Click Review and Publish to save your changes.
    review and publish button
  13. Click Publish your Changes.
    publish your changes button

    Qtip: Click Data Table to return to your data table.
Attention: Your data may be temporarily unavailable while this variable is being created.
Qtip: Coalesced fields are always set to the “number set” type. This cannot be changed, even when mapping the field to a CX Dashboard. If you’re coalescing text-based fields, we recommend recoding your values to ensure the correct values are assigned.

Incompatible Features

You cannot combine the following types of fields.

Qtip: Combined fields can be mapped to CX Dashboards.

Projects Where You Can Create These Custom Fields

Data & Analysis is available in many different types of projects. The options described on this page are available in:

While the functionality is technically available, we do not recommend using these custom fields with other types of Employee Experience projects. See Creating New Fields (EX) for more details.

Qtip: While other areas of the platform (like dashboards, Stats iQ, and directories), may also allow you to create new fields, this support page is solely focused on how to create new custom fields in Data & Analysis. For steps on creating other kinds of fields across the XM platform, try narrowing your support site search.