PROBLEM

The thousands separator is not displayed in the pop-ups in ArcGIS Online Map Viewer

Last Published: October 8, 2024

Description

When selecting a feature in ArcGIS Online Map Viewer, the field does not display the thousands separator for the integers in the pop-up.

Cause

  • The thousands separator is not enabled in the field.
  • The data type is a string, and the 'Show thousands separator' toggle is only available for numerical field data types.

Solution or Workaround

Enable the thousands separator in the pop-up

In ArcGIS Online Map Viewer, toggle Show thousands separator on to display the thousands separator in the pop-up. Refer to ArcGIS Online: Configure fields for further instructions and information.

The 'Manage field' dialog box in ArcGIS Online Map Viewer.

Add a numerical field data type to the attribute table

  1. In ArcGIS Online, add a field with a numerical data type to the attribute table and calculate values for the field.
  2. Click the Overview tab and click Open in Map Viewer.
  3. In Map Viewer, configure the field to display the thousands separator. Refer to ArcGIS Online: Configure fields for further instruction.

Use a custom Arcade expression

Note:
This workflow is only applicable to fields with a numerical data type.
  1. In Map Viewer, click Layers on the Contents (dark) toolbar and select the layer with the pop-up for editing.
  2. Click Pop-ups The Configure Pop-ups icon. on the Settings (light) toolbar, and click Options > Attribute expressions.
  3. In the Attribute expressions pane, click Add expression to open the Arcade expression editor window.
  4. In the editor window, specify a name for the new expression.
  5. In the Expression dialog box, insert the following Arcade expression.
Text($feature.field_name, '#,###')
  1. Click Run for a preview of the expression result.
  2. If the required result is achieved, click Done.

Article ID: 000033469

Software:
  • ArcGIS Online

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options