ArcGIS Pro 2.5: How to show thousands separator on labels?

1953
9
02-28-2020 11:08 AM
JamalNUMAN
Esteemed Contributor

ArcGIS Pro 2.5: How to show thousands separator on labels?

 

I couldn’t figure out how to show thousands separator on labels. In ArcMap, the format of labels respects the format of values in the attribute table. This is sounds not to be applicable in Pro

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
9 Replies
DanPatterson_Retired
MVP Esteemed Contributor

"{:,}  python format string syntax.  Other languages have there own

TyceHerrman
New Contributor II
JamalNUMAN
Esteemed Contributor

Many thanks guys for the help

 

It works for me with the code below

text($feature.Female, '#,###')

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
AhmadSALEH1
Occasional Contributor III

You still can use the numbers formating  as the following, but don't forget to Save your edits to the fields 

.

The result 

JamalNUMAN
Esteemed Contributor

Many thanks Ahmad for the help

 

It appears that labeling doesn’t respect the format the values have in the table in case of Join!

 

What could be the issue here?

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
AhmadSALEH1
Occasional Contributor III

I am having the same behavior here.

The workaround is to add an expression

Arcade:

Round($feature.Shape_Area,2)

JamalNUMAN
Esteemed Contributor

Is this a bug or by design? I would appreciate if esri staff could help on this

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
JayJohnsonWashoeCounty
Regular Contributor

Ah, the old "invisible ellipses".  Thanks.

Jay
Washoe County GIS
JamalNUMAN
Esteemed Contributor

If the vbscript or jscript languages are used then the format in the table is reflected in the map label as shown in the screenshot below. This fails in case of python or arcade

 

Clip_331.jpg

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos