---
title: "Add data to a report"
canonical: "https://help.vicon.com/space/NexusReports10/1311965219/Add+data+to+a+report"
format: markdown
---
To import data into a report, in Nexus Reports, create or open a report (see [Create a report](https://vicon-help.atlassian.net/wiki/spaces/NexusReports10/pages/1311965201)) and review the options in **Data Sources** on the right of the Report Editor.

If you’re creating a report from a custom template or a new, blank report, the Data Sources are displayed as follows. If you’re using one of the supplied example templates, the options are partially populated with placeholders but you must still import data to populate the nodes (fields) on each page of the report.

> ![DataSources.png](media://76957ee3-b2df-4438-9ac9-ffb36a1fb4c8)

> ✅ **Tip**  
> ✅ When you use a template, small colored circles (dots) in the top right corner of unpopulated nodes indicate the type of data needed to populate them. The color of the dots corresponds to the colors used for the cards in the Data Sources (orange for trial files, purple for reference data, green for trial groups, etc).

> Macro (16dcb1b2-c6fb-4c23-a096-38455b87e6a8/1fa5e51a-a28e-46e1-9b5c-734b339f025f/static/scroll-pagebreak)

Nexus Reports provides the following options for importing data:

- **Trial files**
  - Trial files must be in .*c3d* format.
  - This option enables you to visualize data from a **single trial**.  
:info: **Note**: With this option, you can add multiple individual trials to your report but you can visualize only a single trial at one time (that is, you cannot combine each trial with other trials).
  - You can include multiple cycles from a single trial.
  - With this option, you can also include **videos** and **Workspace** nodes.
- **Reference data files**
  - Reference data files must be in **Microsoft Excel Workbook** (.*xlsx*) format. To create a compatible file, either export graph data using the Export data as reference data control  or ensure your data meets the criteria for compatible formatting (see [Format reference data for Nexus Reports](https://vicon-help.atlassian.net/wiki/spaces/NexusReports10/pages/1311965219/Add+data+to+a+report#ref-data-format)).
- **Trial groups**
  - Trial group files must be in .*c3d* format.
  - This option enables you to consolidate or compare data from **multiple trials**, so that you can visualize data as a **group** (eg, average data of a group or condition).
  - This option does not allow you to include videos or workspace nodes.
  - Data must be normalized.

For details about the options for importing data into Nexus Reports, see the following topics:

> Macro (toc)

> Macro (16dcb1b2-c6fb-4c23-a096-38455b87e6a8/1fa5e51a-a28e-46e1-9b5c-734b339f025f/static/scroll-pagebreak)

> Macro (anchor)



## Import a single trial into a report

Importing a single trial enables you to visualize data from the trial. You can also include videos or workspace nodes, as well as other customizations.

> ℹ️ **Note**  
> ℹ️ With this option, you can add one or more trials to your report but you can visualize only a single trial at one time (that is, you cannot combine each trial with other trials). You can also include videos and Nexus Workspace nodes.

**To load a single trial:**

1. In the Nexus Reports editor, go to **Data Sources** on the right and in the **Trial Files** section, do one of the following:
  - If you’re using a supplied example template, to load a file into the placeholder, click the Load button:
    If you want to add a new trial to the report rather than loading a file into the placeholder, instead click Add Trial .
    or
  - If you’re creating a report from a custom template or a new, blank report, click Add Trial .
2. Select the required trial (.*c3d* file) and click **Open**.
  The trial is loaded and its name is displayed in the **Trial Files** section:
  :check_mark: **Tip**: To change the default name for loaded data (in the above example, Trial 1) to a name that better identifies your data, click on the name and enter the new name.
3. To view more information about the loaded trial, click the name of the .*c3d* file.  
Details of the trial, showing the available data, are displayed on two tabs, a Global tab and a subject tab:
4. Based on the available data, create or customize the pages and nodes required to display the data as you wish (see [Configure report pages](https://vicon-help.atlassian.net/wiki/spaces/NexusReports10/pages/1311965188)).

> Macro (16dcb1b2-c6fb-4c23-a096-38455b87e6a8/1fa5e51a-a28e-46e1-9b5c-734b339f025f/static/scroll-pagebreak)

## Import from Nexus via marked nodes

In addition to loading data into your report using the Load button, as described in [Import a single trial into a report](https://vicon-help.atlassian.net/wiki/spaces/NexusReports10/pages/1311965219/Add+data+to+a+report#load-single-trial), you can import trials that you have previously marked in Data Management in Vicon Nexus (for information on marking, see *Work with database hierarchy nodes* in the relevant version of the *[Vicon Nexus Reference Guide](https://help.vicon.com/page/nexus-docs)*).

**To add marked trials to your report:**

1. In Nexus, go to Data Management and check that the trials you want to import into your report are marked. Ensure that Nexus remains open, with the marked trials in the currently open session.
2. In Nexus Reports, ensure you have opened or created the report into which you want to add the marked trials.  
In the Nexus Reports editor, the presence of marked trials is indicated by the color of the Import marked trials icon  in the Trial Files section. The icon becomes active (blue) to indicate that marked trials exist in the current Nexus session.
3. Click the blue Import marked trials icon to import the marked trials:
  The marked trials are displayed in the Trial Files section.
  :check_mark: **Tip**: To compare or consolidate data across the loaded trials, create a trial group by dragging trials from the **Trial Files** section to the **Trial Groups**.

> Macro (16dcb1b2-c6fb-4c23-a096-38455b87e6a8/1fa5e51a-a28e-46e1-9b5c-734b339f025f/static/scroll-pagebreak)

## Import reference data into a report

To add reference data, which must be in Microsoft Excel Workbook (.*xlsx*) format:

1. In the Nexus Reports editor, go to **Data Sources** on the right and in the **Reference Data Files** section, click the Add reference data button .
2. Locate the required Microsoft Excel Workbook (.*xlsx*) file and click **Open**.  
The name of the reference data file you loaded is displayed in Reference Data Files
3. To add the reference data to a graph, in Reference Data Files, click on the name of the file to expand it, select the card whose data you want to display, and drag it to the relevant graph node in the report.
  The reference data is overlaid on the chosen graph. To hide lines, change colors, etc, for better comparison of the reference data with the trial data, use the graph Settings: (see [Change the graph display in a report](https://vicon-help.atlassian.net/wiki/spaces/NexusReports10/pages/1311965238)).

> Macro (16dcb1b2-c6fb-4c23-a096-38455b87e6a8/1fa5e51a-a28e-46e1-9b5c-734b339f025f/static/scroll-pagebreak)


 > Macro (anchor)



### Format reference data for Nexus Reports

To ensure your reference data meets the requirements for use in Nexus Reports, do either of the following:

> Macro (toc)

#### Create a correctly formatted XLSX file

To display correctly in Nexus Reports, open the XLSX file in Microsoft Excel and ensure that the reference data conforms to the following formatting criteria:

- Each reference XLSX file has multiple tabs: a **Units** tab and one or more variables tabs.
- The **Units** tab consists of two columns:
  - Column 1, starting in cell A1, consists of all the variable types (eg, angle or moment) that you wish to have in your reference data set.  
The variable type is the name of the card as it appears within the reference data set.
  - Column 2, starting in cell B1, consists of the units that correspond to the variable type in the same row (eg, A1 = Angle, B1 = deg)
- Each variable must have its own tab.   
The tab must be named with the variable type and then the variable name as you want to appear in Nexus Reports
  For example, a tab called Angle LAnkleAngles X is displayed like this:

> Macro (16dcb1b2-c6fb-4c23-a096-38455b87e6a8/1fa5e51a-a28e-46e1-9b5c-734b339f025f/static/scroll-pagebreak)

#### Create reference data in Nexus Reports

You can create correctly formatted reference data from within Nexus Reports by exporting a graph as follows:

1. In Nexus Reports, create a graph of the required outputs (see [Display graphs with a Graph node](https://vicon-help.atlassian.net/wiki/spaces/NexusReports10/pages/1311965224)).
2. In the editor, select the relevant graph and from the Graph controls above the page, select Export graph data as reference data .  
By default, the reference data file is exported in .*xlsx* format to the session folder, with the graph output name as the file name.

> Macro (16dcb1b2-c6fb-4c23-a096-38455b87e6a8/1fa5e51a-a28e-46e1-9b5c-734b339f025f/static/scroll-pagebreak)

> Macro (anchor)



## Create a Trial Group in a report

To consolidate or compare data from multiple trials, create trial groups in your report. 

To create trial groups, you can either load multiple trials directly into a trial group or drag loaded trials from the Trial Files section. You can also move trials between Trial Groups.

**To group trials into a Trial Group:**

1. In Nexus Reports, open or create a report.
2. On the right of the report editor, go to **Data Sources** and in **Trial Groups**, click Create Group .   
An empty trial group with a default name is displayed in the Trial Groups section.
  :check_mark: **Tip**: To change the default name (in the above example, Trial Group 1) to a more appropriate name that identifies your data, click on the default name and enter the new name.
3. In the new trial group section, click the Load button and select the trials to add to the group:
  :check_mark: **Tip**: To preserve the current dataset for other reports that use the same template, click Pin trial group  and then go to the Nexus Report toolbar and click Save Template .