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

Replacing Values from a Lookup Table


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 Replacing Values from a Lookup Table

You can add lookups to any source field to have greater control over the exact values being sent to your XM Discover project. A lookup table lets you define one or more pairs of source values that will be replaced and the transformed values that will replace them.

Qtip: You can use this option to change the format of predefined responses. For example, when uploading a service rating, you can switch between a numeric format (from 1 to 5) and a text format (from Very Negative to Very Positive) and vice versa.

Adding Lookups

Data transformation is part of the job’s data mapping configuration.

There are two ways you can access data mapping:

  • When creating a job, data mapping is available as one of the steps when setting up the job.
  • When updating a scheduled job, data mapping is available from the job’s actions menu.
Qtip: To learn more about data mapping, please see Configuring Data Mapping.

Once you open the job’s data mapping configuration, perform the following steps:

  1. Locate the field you wish to transform.
  2. Click the gear icon in the Transformations column.
    Replacing look up values from the source mapping table, highlighting the transformations column.

    Qtip: You can apply only one type of transformation to a field. A subscript next to the gear icon indicates that a transformation is already applied to a field. When you apply another transformation, any previously defined transformation is removed.
  3. Select Replace Value from Lookup Table from the dropdown menu.
    Shows the Replace Value from Lookup Table configuration menu
  4. Provide the exact value that you want to replace in the Source Value box.
  5. Provide the replacement value in the Transformed Value box.
  6. Click the plus icon ( + ) on the right to add more lookups. Click the minus icon ( ) to remove lookups.
    Qtip: Alternatively, you can import lookups from the Excel spreadsheet via the Import Lookup option. For more information, please see Importing and Exporting Lookups.
  7. Click Save.

Importing and Exporting Lookups

You can export and import lookups using Excel files.

Lookups are defined using the following format:

  • A1 cell needs to contain the word match.
  • B1 cell needs to contain the word recoded.
  • Source values are defined in the A column, starting from A2.
  • Transformed values are defined in the B column.
  • Each row indicates a source value/transformed value pair.
Qtip: You can export your lookup mappings so that you can reuse them in other jobs. Click Export Lookup to download an Excel file containing your job’s current lookup mappings.