ERROR

ArcGIS Online: Normalization is not allowed when ‘valueExpression’ is specified

First Published: May 6, 2026
Last Published: May 6, 2026

Error Message

In ArcGIS Online, when using an Arcade expression to set custom symbology in Map Viewer with the 'Classify data' option enabled, the following error message is returned:

Error:   
Normalization is not allowed when ‘valueExpression’ is specified 
The error message

Cause

Arcade expressions used for visualization are evaluated at draw time, and the results are not stored or indexed in the data. When using an Arcade-driven attribute for classification, smart mapping in Map Viewer computes a numeric range from the expression's results. If the expression produces no variation (for example, all features have the same value), smart mapping cannot generate meaningful class breaks, resulting in an error.

Solution or Workaround

Specify a custom Arcade expression in a new field and set it as the style attribute

  1. Sign in to ArcGIS Online and navigate to Content > My Content.
  2. On the My Content tab, select the feature layer to open its item page.
  3. On the item page, click the Data tab.
  4. In the Table view, add a new numeric field
    1. Click + Add field > Numbers > Double. Select Next.
    2. For Field name and Display name, specify the names. In this example, both are specified as new_rate.
    3. Click Add field.
  5. Click the new field Menu icon Tthe Menu icon and select Calculate.
  6. In the Calculate field view, in the Select Language pane, select Arcade and click Next.
  7. In the Arcade Expression pane, specify a custom expression using one or more fields in the data, and click Run Calculation. In this example, the function is specified as follows:
$feature.Rate_x + $feature.Rate_y
  1. Click the Table icon. Ensure the new field has been updated accordingly.
  2. Click Overview > Open in Map Viewer.
  3. In Map Viewer, click Styles The Styles icon.
  4. In the Styles pane, click + Field. Select the new field created in Step 4, and click Add. In this example, new_rate is selected.
  5. For Pick a style, select the style category and click Style options. In this example, Counts and Amounts (color) is selected.
  6. In the Style options pane, toggle Classify data on.
  7. Click Done.

No error is returned when a field is selected as a style option with the 'Classify data' option enabled.

The image shows selecting a field as a style option returns no error when enabling the Classify data option

Assign different values in the table

  1. Sign in to ArcGIS Online and navigate to Content > My Content.
  2. On the My Content tab, select the feature layer to open its item page.
  3. On the Overview page, click Open in Map Viewer.
  4. In the Layers pane, click Options The Options icon > Show table.
  5. Change the values in the preferred field to ensure the feature values are not all identical. In this example, one of the values in the Rate_x field is changed from 1 to 0.
  6. Click Close The Close icon to close the table.
  7. Click Styles The Styles icon.
  8. In the Styles pane, click + Expression. In the expression window, specify the custom expression. In this example, the function is specified as follows:
$feature.Rate_x + $feature.Rate_y
  1. Click Done.
  2. For Pick a style, select the style category and click Style options. In this example, the Counts and Amounts (color) is selected.
  3. In the Style options pane, toggle Classify data on.
  4. Click Done.

No error is returned when one of the dataset values is changed to include variation and the 'Classify data' option is enabled.

The image shows changing one of the values in the dataset to include variation returns no error when enabling the Classify data option.

Article ID: 000041201

Software:
  • ArcGIS Online

Get support with AI

Resolve your issue quickly with the Esri Support AI Chatbot.

Start chatting now

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Start chatting now

Go to download options