Select to view content in your preferred language

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

6727
12
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
12 Replies
DanPatterson_Retired
MVP Emeritus

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

TyceHerrman
Occasional Contributor
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
Frequent Contributor

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
Frequent Contributor

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
Frequent Contributor

Ah, the old "invisible ellipses".  Thanks.

Jay
Washoe County GIS
KeithAddison1
Frequent Contributor

To tack on to this one - I had to close and reopen the aprx for the commas to show in the label.

0 Kudos