Select to view content in your preferred language

Arcade Pop-up/Label: How to SUM records dependent upon a a field within a different layer?

525
0
04-30-2023 12:16 PM
Labels (1)
J_Goldman0130
New Contributor

Hello,

I am attempting to create a string within a pop-up or label for a point layer in my web map that sums all records of a different polyline layer - dependent upon a field within the second polyline layer. 

To further explain, I am attempting to show the total miles progressed along the Appalachian Trail layer per day. The layer of the trail I downloaded contains several records/segments that my hiker completes each day.  Each day I am able to calculate which day the trail segment was completed on (so that my symbology is notified). 

However, I would love for my point layer label or pop-up to show "total miles hiked" - without me having to manually calculate and then enter the data into the point layer. 

I can't seem to find anything that explains how to do what I am hoping to accomplish. Is this a feasible thing to accomplish?

 

Thank you in advance! 

0 Kudos
0 Replies