Skip to main content
Loading...
  • Customer Experience
    Customer Experience
  • Employee Experience
    Employee Experience
  • Brand Experience
    Brand Experience
  • Product Experience
    Product Experience
  • Core XM
    Core XM
  • Design XM
    Design XM

Creating A Data Model

What's on This Page:


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 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 datasets. Within the data model you are able to add datasets, join datasets, filter your data, and create an output dataset that will be used for analysis.

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.
    adding a source to your data model
  2. Click Add Source.
  3. Click the checkbox next to all the sources you want to add to your data model. Clicking on a specific source will display details about that source’s data. Uncheck the box next to a source to remove it from your data model.
    adding fields from a data source

    Qtip: Use the search bar to search for projects by name.
    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. Select all the fields you want to include in your dataset. You can click on different types of data, like “Metadata”, to see only those fields, or use the search bar to search for specific fields.
    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 datasets.
  5. When you have finished selecting fields, click anywhere on your data model to return to it. Your selections will be saved automatically.
  6. 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 dataset 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.
viewing additional information about a data source
When you click on a source there are three tabs that display additional information:
  • Input dataset details: This tab shows the source name of the dataset, 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.
  • Schema: This tab shows the fields you selected when adding the source, as well as their field type.
    Qtip: Click Manage fields to add or remove fields from the dataset.
  • Preview: This tab shows a preview of the records in this 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.

removing a data source from the data model

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 dataset. 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 datasets are added to a join they cannot be modified. You can modify the entire join, or remove the join to modify the individual datasets.

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 dataset, as well as their field type.
  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 Columns

  1. Click the plus sign (+) next to the element you want to filter.
    editing columns in the data model
  2. Click Edit columns.
  3. Click the checkbox next to a column to remove it from the output dataset.
    editing column settings

    Qtip: Use the search bar to search for specific fields, or click Filter by to filter by specific data types or datasets.
  4. Click the trash icon to remove the selected fields.
  5. To change the field type of a field, click the dropdown and select a different field type.
    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.
  6. If desired, click the Schema tab to view the fields in your dataset, as well as their field type.
  7. When you have finished editing your columns, 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 datasets you want to combine.
    adding a join to your data model
  2. Click Join.
  3. Select a Join Type. This will determine how your two datasets are combined.
    joining 2 datasets
    The following join types are available:

    • Inner: The merged dataset will only include matching rows found in both datasets.
    • Left outer: The merged dataset will include all rows from the left input and matching rows found in the right input.
    • Right outer: The merged dataset will include all rows from the right input and matching rows found in the left input.
    • Full outer: The merged dataset will include all rows found in both datasets.
  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. Click Select one to open the dropdown and select a field from each data source. This field should be something that is the same in both datasets, such as employee email or unique ID.
    Qtip: Click the plus sign (+) to add additional join conditions.
  6. If desired, click the Schema tab to view the fields in your combined dataset, as well as their field type.
  7. 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 datasets. You can also combine joined datasets to keep creating a larger output dataset, as shown below.

combining multiple datasets in joins

Adding an Output Dataset

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

  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. If desired, click the Schema tab to view the fields in your dataset, 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 dataset.
  4. 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 dataset.

running preview of data model

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

Attention: If it takes more than a couple hours for your dataset 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.