I've got one field X
with 10 numerical attributes (float/double).
I've created a new field Y
(also float/double) which I need to populate with the percentage of each record/attribute (in each of the 10 rows) relative to the MAX value in field X
, i.e. something like Y=X/max(!X!)
.
I need to do this using the field calculator - in VB script or Python.
Any suggestions? I thought using max
before the field name would suffice? (I assumed it was a built-in-function from Python in ArcGIS).