You can organise the variables in a project into groups in several ways:

Create a new group without variables

  1. Go to the "Variables" window and click on the "+ New" button. 

  2. Select "New variable group"

  3. Give your group a name

  4. Click "Create"

  5. The group will show as a card on your variable dashboard

  6. Drag and drop the variables you would like to include in the group

NB: If you can't drag and drop variables, make sure that you have chosen "All" from the "Show" dropdown menu on the left side of the screen. If not, you will not be able to drag and drop variables.

Create a new group from existing variables

Grid view

  1. Go to the "Variables" window

  2. Create groups by dragging one variable and dropping it over another variable that you want to combine in a group

  3. Select "Create new group" from the dropdown menu

  4. Give your new group a name

  5. Click "Create"

  6. The new group will appear in the grid view. You can drag and drop more variables into the group.

Table view

  1. Go to the "Variables" window and select the table view

  2. Select all variables that should be part of your group

  3. Click the "move" icon in the upper right corner

  4. Select the "Group" button and choose "+ Create new group" from the dropdown menu

  5. Give your new group a name

  6. Click "Apply"

Create new variables within an existing group

  1. In the "Variables" window (grid view), click on the group you would like to add a variable to

  2. The "Edit Group" card will appear on the right side of the screen

  3. Click "+ New Variable"

  4. Follow the steps from step 3 described under Create variables

Add existing variables to an existing group

Grid view

Drag any existing variable to the group card or the "Edit group" window 

Table view

  1. Select the variable(s) you want to add to the group

  2. Click the "Move" icon in the upper right corner

  3. Select the "Group" button and choose the appropriate group from the dropdown menu

  4. Click "Apply"

Variable groups are marked with an orange line both in the variable window and in the dataset window.