How to Dynamically Calculate Fields in ArcGIS Report?

المشرف العام

Administrator
طاقم الإدارة
I came across How to calculate custom fields in ArcGIS Reports? and it's very similar to what I'm trying to accomplish. I have two fields that are sums and would like to divide them in order to get a percentage.

Based on the response, I'm assuming a C# expression is needed, but I haven't a clue how to write a C# expression. I was hoping someone could point me in the right direction, or provide a general C# expression example using sum and/or divide...?

Based on the screenshot below, my expression would be something like: sum(Field1) / sum(Field2) --- green / red





أكثر...
 
أعلى