Aggregate codes (gather all content in a parent code)

If you are working with codes in a hierarchy, you can aggregate all the coding references from the child codes at the parent code. Then, when you open the parent code, you can see the material coded directly at the parent code as well as any material coded to its first-level child codes.

Aggregation is turned off by default.

The An icon representing aggregation: a circle on top with two circles below icon in the Aggregate column indicates that aggregation is turned on. This column is not visible by default—you can add the column to your code List View.

For example, you could turn on code aggregation for the parent codes in this hierarchy:

  • respondents
    • farmers
      • Giacomo
      • Pat
    • fisheries
      • Franz
      • Vikram

Then you could open:

  • respondents to see all coded material
  • farmers to see all material coded to farmers, Giacomo or Pat
  • fisheries to see all material coded to fisheries, Franz or Vikram

If you add child codes, the content is automatically rolled up to the parent (if the parent has aggregation turned on).


  • You may get different results in queries and visualizations if you turn on aggregation for a code.
  • When NVivo counts the references in an aggregated code, it includes all the references coded directly at the code as well as the references in first-level child codes. If the same reference is coded to multiple levels, it will be counted multiple times.

Turn code aggregation on or off

  1. In List View click the parent code.
  2. On the Home tab, in the Item group, click Properties.
  3. Select the Aggregate coding from child codes check box.

NOTE  When working with codes in List View, you can display a column to see which codes have aggregation turned on—on the View tab in the List View group, click Customize. Customize the workspace