HOW TO

Add digit grouping formatting using Arcade in ArcGIS Dashboards

Last Published: April 26, 2024

Summary

In ArcGIS Dashboards, Arcade expressions can be used to customize how the data points render for the list, indicator, and table elements. Depending on how the element is configured, a data point can represent a feature or a summary statistic. A single data point represents a single feature when using features, and each data point represents the result of a statistic when it is used.

This article provides the steps to add digit grouping formatting for the numerical field values in ArcGIS Dashboards. In this example, the field values in the Chickens, Broilers - Inventory, Chickens, Roosters - Inventory, Chickens, Pullets, Replacement - Inventory, and Chickens, Layers - Inventory fields are referenced.

Procedure

  1. In the item details page, click Edit Dashboard to configure the dashboard. Click View on the dashboard toolbar > Options button Horizontal three dot icon next to the element, and click Configure.
The dashboard toolbar with the View tab
  1. Click Values to open the Value Options menu, and click Enable.
Enabling the advanced formatting of the Table element in ArcGIS Dashboards
  1. Specify the following Arcade expression in the Expression window for each of the desired fields.
displayText : Text($datapoint[<variable>], '#,###'),
  1. Click Done.
Specifying the Arcade expression in the ArcGIS Dashboards Expression window

The image below shows the table element without the Arcade expression.

An example of the table element without the Arcade expression enabled

The image below shows the table element with the Arcade expression.

An example of the table element with the Arcade expression enabled

Article ID: 000027394

Software:
  • ArcGIS Online
  • ArcGIS Dashboards

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