I'm using the Python built-in function in the calculate field tool in Modelbuilder to calculate maximum values for each record from a list of fields:
This is the field calculator expression I use in the moment:
max[(!field1_abc!, !field2_abc!, !field3_abc!)]
It worked perfectly so far. But I selected the fileds that are calculated manually. So now I'd like to find a way to automate it. I'd like to calculate the maximum from all fields ends with "abc".
Is it possible to combine the built- in fuction with something like "calculate the max from all fields .endwith("abc")"?
I tried something like: max([!endswith("abc")!])
but it is not working.