How To: Add thousands separators to labels in ArcGIS Pro
In ArcGIS Pro, when labeling numeric features with the option to Show thousands separators activated on the data, the separators do not automatically appear in labels.
There are two methods to add thousands separators to labels in ArcGIS Pro:
- Use an Arcade Text function to format the numbers in the label expression.
In the World Cities data below, we see that the POPULATION field contains data about each city’s population. When labeled, there are no thousands separators by default.
To address this, change the label expression to:
Note: The label now displays the thousands separators. See the Related Information section for more information on Arcade functions.
- Alternatively, enable Show thousands separators in the attribute table by changing the Number Format from the Fields View. After changing the number format, switch the labeling language from Arcade to one of the other options such as Python, JScript, or VBScript.
Either of these methods can be used in ArcGIS Pro. However, the advantage of using Arcade is that if publishing your layers to the web, the expression is honored and the thousands separators are maintained in your web map and app labels. This is not the case when using one of the other labeling languages.
Last Published: 10/25/2019
Article ID: 000016672
Software: ArcGIS Pro 2.4.2, 2.4.1, 2.4, 2.3.3, 2.3.2, 2.3.1, 2.3, 2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.2, 2.1.3, 2.1.2, 2.1.1, 2.1, 2.0.1, 2.0, 1.4.1, 1.4, 1.3.1, 1.3, 1.2