AnsweredAssumed Answered

Sum of features with common value in field in pop-up using Arcade?

Question asked by dane.weeks on Dec 11, 2019
Latest reply on Dec 13, 2019 by xander_bakker

I have several thousand points representing trees and their proximity to hundreds of utility lines.  Each tree and line has its own unique ID.  Is it possible to calculate the sum of trees for each line within the popup?  For example, I click on a tree point near line 123, and the pop-up window would read "213 trees remain on line 123".  An important distinction is that the lines themselves are not loaded into the web map, this would simply be based on the field in the tree point attribute field.  

Outcomes