Good Day GeoNet Community,
Would like to inquire how to search among rows of a table and find the maximum value only using a selected set of fields. For example, If the table consists of five columns ID,F1,F2,F3,F4, would want to search and find the maximum value in F2 and F4. The maximum value would become an value in a new field, called MX. An arcpy solution is optimal and generic case is best.
Your suggestions are much appreciated, thank you for your time.
Example Table ("MyVals")
ID | F1 | F2 | F3 | F4 | MX |
1 | 1 | 22 | 13 | 33 | |
2 | 3 | 2 | 6 | 55 | |
3 | 6 | 9 | 5 | 66 | |
4 | 7 | 7 | 88 | 77 | |
5 | 9 | 9 | 9 | 88 | |
6 | 4 | 77 | 1 | 99 | |
8 | 22 | 44 | 12 | 33 | |
9 | 7 | 5 | 33 | 1 | |
10 | 9 | 4 | 5 | 2 | |