AnsweredAssumed Answered

Can I use Arcade to average values from many attribute columns?

Question asked by francis.hourigan on Oct 16, 2019
Latest reply on Oct 16, 2019 by ddeegan

I have a polygon layer that I want to label with the average yield over time. The data table is set up so that there is a polygon ID and then historic yields for each year in its own attribute column. 

 

For Example:

Polygon Num            yield 2010      yield 2011      yield 2012      yield 2013

1                                       10               26                     29                     15

2                                       35               45                     19                      25

3                                       14                25                     36                     48

 

How can I label the polygon, or create an average attribute in the pop-up, with the average yield for all years?

 

Thank you!

Outcomes