PROBLEM

Unable to add a second attribute to a feature symbology in ArcGIS Online

Last Published: April 25, 2020

Description

When applying symbology to a feature service in ArcGIS Online, attempting to add a second attribute to the symbology fails if the option to Add Attribute and show the symbology for the two attributes does not appear.

Cause

This issue occurs if the source field for the second attribute contains non-numeric values or there are no fields with numeric values in the specific feature to allow the creation of a second attribute. In ArcGIS Online, a second attribute can only be added if the values of the source field are numeric.

Solution or Workaround

A possible workaround is to convert the non-numeric field values to arbitrary numeric values. However, this is only applicable if the non-numeric values can be represented in the arbitrary numeric value format. For example, the field values of 'Yes' can be classified as '1' and the field values of 'No' can be classified as '0'.

To convert the non-numeric field values to arbitrary numeric values, create a new field with the 'integer' field type, and use the Calculate Field operation to populate the field with the desired values. For steps on how to use the Calculate Field operation, refer to ArcGIS Help: Work with fields and ArcGIS Help: Calculate Fields examples for the Calculate Field code samples.

Alternatively, manually input the values after creating the new field.

Article ID:000017047

Software:
  • ArcGIS Online

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic