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

4341
10
02-28-2020 11:08 AM
JamalNUMAN
Legendary 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
10 Replies
DanPatterson_Retired
MVP Emeritus

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

JamalNUMAN
Legendary 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
Legendary 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
Legendary 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
Occasional Contributor III

Ah, the old "invisible ellipses".  Thanks.

Jay
Washoe County GIS
JamalNUMAN
Legendary 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