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

Creating A Data Model (EX)


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!


Attention: Projects created before November 6, 2024 use the old data model and have been placed in an Archived state. You cannot edit, publish, or refresh the data model in archived projects. Previously published data, dashboards, participants, and Stats iQ will continue to be available and operational, however dashboard creation and copying is disabled in archived projects. Archived projects cannot be copied; create a new project instead.the archived banner at the top of an old EJA or Cross XM project

About Creating A Data Model

After creating a new Employee Journey Analytics project from scratch, the next step is to set up a data model to join two or more of your existing data sets. Within the data model you are able to add data sets, join data sets, filter your data, and create an output data set that will be used for analysis.

Just about any type of Employee Experience project’s data can be mapped to your Employee Journey Analytics model. For a list of compatible project types, see this table.

Qtip: This page only describes data models in Employee Journey Analytics projects.

Adding & Editing Sources

The first step when creating your data model is adding a source.

  1. Navigate to the Data Model tab within your Employee Journey Analytics project.
    clicking add source in a new data model
  2. Click Add Source.
  3. Under Source Data, choose an EX project to use for the data model. Use the search bar and All source types menu to find a source.choosing a project and the fields
    Attention: Only projects you have access to will appear in this list. If any projects are not showing up, make sure they have been collaborated with you.
  4. When you’re ready to select a source, adjust the Quantity to 1 (or more, if desired).
    Qtip: It can be useful to add the same source more than once if you plan to perform separate unions and joins in your dataset. You cannot create a union or a join with multiple copies of the same source.
  5. Select all the fields you want to include in your dataset. You can click on different types of data, like “Survey questions”, to see only those fields, or use the search bar to search for specific fields.
    choosing fields for the data model

    Qtip: When selecting fields to include in your data model, think about which fields will be important when analyzing your data. Fields that are commonly included are survey questions, important metadata, and the field you plan on using to join your data sets.
  6. When you have finished selecting fields, click anywhere on your data model to return to it. Your selections will be saved automatically.
  7. Repeat steps 2-5 for each project you want to add as a data source.
    Qtip: If you are adding two or more surveys to your data model that contain the same employee and organization data, you may only want to include one set of this data. Including the same fields twice will create duplicates in your output data set and dashboard.
Attention: You can add a maximum of 10 sources to each project.

Editing a Source

Once you have added a source to your data model, click on it to view additional information and make minor edits.
When you click on a source there are 2 tabs that display additional information:
clicking on a data source to edit it
  • Input dataset details: This tab shows the source name of the data set, the number of records in the source, and the number of fields in the source. You can also edit the output name of the source, which is what appears in the data model.
    Qtip: Editing the output name will not change the name of the original source.
  • Field editor: This tab shows the fields you selected when adding the source, as well as their field type. You can also remove fields, edit fields, recode fields, and add new fields here.
    Attention: Any edits made here will cause connections that modify the data source to be reset. Field edits should be done before adding connections that modify the data source.

Removing a Source

If you have added a source to your data model but decide you no longer want it, click the x to remove it.

clicking the X to delete a source

Qtip: You cannot remove a source if it is connected to any transformations.
Attention: Any field edits made in Manage fields will be reset when a source is removed.

Modifying Data Sources

The elements of your data model can be modified by filtering rows or editing columns. Both of these options affect which data will appear in the outcome data set. For example, you may want to add a filter to your sources so that only data from the last 12 months is displayed, allowing you to analyze trends over the last year.

Qtip: You can modify both individual data sources and combined data sources.
Qtip: Once data sets are added to a join they should not be modified. You can modify the entire join in the Field Editor, or remove the join to modify the individual data sets.

Filtering Rows

This section covers the basics of adding a filter within your data model. For more information on filters and building filter conditions, see Filtering Responses.

  1. Click the plus sign (+) next to the element you want to filter.
    adding a filter within the data model
  2. Click Filter rows.
  3. Click into the Output field to edit the name of the filter if desired.
    filtering rows in a data model
  4. Choose whether all conditions need to be met for a record to appear in a filter, or if only some of them need to be met. See All vs. Any for more information.
  5. Select a data type for the filter. If you want to create a filter based on fields from a survey project, select either Embedded data or Survey metadata. If you want to create a filter based on fields from an Imported Data Project, select Others.
  6. Select a specific field for the data type you selected.
  7. Select a condition for the filter.
  8. Select a value for the filter. In the above screenshot, the joined data is being filtered to only include employees that are in the Seattle office.
  9. Click the three horizontal dots next to the first condition to add additional conditions or condition sets, or delete the condition.
    additional options in the filter
  10. If desired, click the Schema tab to view the fields in your data set, as well as their field type.
    Qtip: Use the field editor tab to make any changes to the fields.
  11. When you have finished setting up your filter, click anywhere on your data model to return to it. Your selections will be saved automatically.

Editing, Removing, and Adding Fields

Attention: Editing Join and Filter transformations will reset any edits made in the Field Editor tab for the current transformation, as well as any future transformations and associated field edits.
  1. Click on the component you would like to edit.
    clicking a source to edit it

    Qtip: Source components and aggregate row components cannot be edited.
  2. Click the Field editor.
  3. Click on the field you’d like to modify.
    selecting a field to edit

    Qtip: Use the search bar to search for specific fields.
  4. You can change the input used for this by choosing one of the following:
    • Unmap this value: Unmaps the field from the dataset. The field can be remapped later, if needed.
    • Create a custom field: Allows you to create a new field in the dataset.
    • Another field: The other fields from your dataset will be listed here. You can choose one of them instead
  5. You can change the field’s name in your dataset by typing a new name in the Destination field.editing the field type
  6. You can change a field’s type using the Type menu.
    Qtip: If you select Date as the field type, you will have to specify a date format. Choose a format from the dropdown and then click Apply. See Date Format Syntax for more information. selecting a date format when changing field type to date
  7. To remove a field from your dataset entirely, click the Actions three dot menu and click Delete Field.
  8. You can create entirely new fields from scratch by clicking the Actions dropdown menu and then selecting Add Blank Field. A new field will be added to your dataset and you can then repeat the above steps to edit and map the field as needed.creating a new field
  9. When you have finished editing your fields, click anywhere on your data model to return to it. Your changes will be saved automatically.

Combining Data Sources

Once you have added at least two sources to your data model, you can begin combining them.

  1. While on the Data Model tab of your project, click the plus sign (+) next to one of the data sets you want to combine.
    clicking the plus sign and then join
  2. Click Join.
  3. Select a Join Type. This will determine how your two data sets are combined.
    choosing a join type
    The following join types are available:

    • Inner: The merged data set will only include matching rows found in both data sets.
    • Left outer: The merged data set will include all rows from the left input and matching rows found in the right input.
    • Full outer: The merged data set will include all rows found in both data sets.
  4. Select a data source for your right input. Only data sources that have been added to your data model will show up here.
    Qtip: When setting up a join, only data sources that have not already been selected in previous joins will appear in the dropdown.
  5. Set the join condition you want to use to combine your data sources. Select a field from each data source. This field should be the same in both data sets, such as employee email or unique ID.
    creating the join condition
  6. Click Insert Condition below to create additional conditions or Delete to remove a condition.
  7. If desired, you can edit the fields from your input sources in the Field editor tab.editing join fields in the field editor
  8. If desired, click the Schema tab to view the fields in your combined data set, as well as their field type.
  9. When you have finished setting up your join, click anywhere on your data model to return to it. Your selections will be saved automatically.

Repeat the above steps to combine additional data sets. You can also combine joined data sets to keep creating a larger output data set, as shown below.

combining multiple datasets in joins

Aggregating Rows

You can aggregate rows in your data model to help you report on variables in both datasets. This is especially helpful if you have fields in your projects that represent the same data but are called different names.the aggregate rows section when creating a data model

See Aggregating Data Model Rows for step by step instructions on aggregating rows. Note that while the linked page discusses EX + CX reporting functionality, the steps to aggregate data in an Employee Journey Analytics project are the same (you will use 2 EX projects instead of 1 EX and 1 CX).

Qtip: To edit fields with aggregate rows, add an Edit Columns component and edit the fields in the Field editor tab.
Add an edit columns component to edit fields in aggregate rows

Adding an Output Data Set

Once you have finished combining and modifying your data, it is time to add an output data set.

  1. Click the plus sign next to the last element in your data model.
  2. Select Output dataset.
    adding an output dataset to the data model
  3. Give the output data source a name.
    giving the output data source a name
  4. If desired, click the Dataset editor tab to view the fields in your data set, as well as their field type.
    selecting the output dataset in the data model

    Attention: There is a limit of 1,000 columns for your output data set.
  5. Click anywhere on your data model to return to it.

Previewing Your Data Model

After creating your data model, click Run preview to generate your output data set.

the run preview button
This may take a while to generate; when the preview is complete you will be taken to a preview of your data set.

Attention: If it takes more than a couple hours for your data set to load, reach out to Qualtrics Support.
viewing a preview of your output dataset
Click the filter icon to filter the preview data. Click Close Preview to return to your data model.