Pivot Table (Data Management)

This ArcGIS 3.0 documentation has been archived and is no longer updated. Content and links may be outdated. See the latest documentation.

Available with Advanced license.

Summary

Creates a table from the input table by reducing redundancy in records and flattening one-to-many relationships.

Illustration

Pivot Table tool illustration

Usage

  • This tool is typically used to reduce redundant records and flatten one-to-many relationships.

  • The combination of the Input Fields, Pivot Field, and Value Field values must be unique.

  • If the Pivot Field value is a text field, its values must begin with a character (for example, a2) and not a number (for example, 2a). If the value of the first record begins with a number, all the output values will be 0.

  • If the Pivot Field value is a numeric type, its value will be appended to its original field name in the output table.

  • The number of fields in the output table is determined by the number of input fields you choose, plus one field for each unique Pivot Field value. The number of records in the output table is determined by the unique combination of values between the chosen input fields and the pivot field.

  • The tool will fail if the selected Pivot Field value contains Null values.

Parameters

LabelExplanationData Type
Input Table

The table containing the records to be pivoted.

Table View
Input Fields

The fields that define records that will be included in the output table.

Field
Pivot Field

The field whose record values will be used to generate the field names in the output table.

Field
Value Field

The field whose values will populate the pivoted fields in the output table.

Field
Output Table

The table that will be created.

Table

Licensing information

  • Basic: No
  • Standard: No
  • Advanced: Yes

Related topics