Hey gang!
I've run into a roadblock in creating my own custom service for my agency, I've got ~500 taxing jurisdictions in total. They all can overlap, but don't have to. The main layers are State, County, Municipal (City), and Special Districts. This isn't the part I need help on, but providing a little background. Where I am stuck is configuring the Popup Tool to 1) list the applicable taxing jurisdictions that are present at any given point in the state (this part I was successful in with my code, see below.
![BryantKosanovich_3-1681934537200.png BryantKosanovich_3-1681934537200.png](https://community.esri.com/t5/image/serverpage/image-id/68489iA2A239FCDB181E54/image-size/medium?v=v2&px=400)
Let me know if you need anymore info too please and thank you!!!
![BryantKosanovich_0-1681934045473.png BryantKosanovich_0-1681934045473.png](https://community.esri.com/t5/image/serverpage/image-id/68485iF46A10F6567FF5F0/image-size/medium?v=v2&px=400)
Step 2 however, Total Tax Rate, I have no idea how to approach. Here's what I have now, but I have no idea if I'm even barking up the right tree at all.
![BryantKosanovich_1-1681934344458.png BryantKosanovich_1-1681934344458.png](https://community.esri.com/t5/image/serverpage/image-id/68486i6961363970828BDD/image-size/medium?v=v2&px=400)
var SumTax_Rate = Sum(
$feature.Tax_Rate,
'$feature.Jurisdiction_Name,$feature.Jurisdiction_Name'
)
return Text(SumTax_Rate, '$#,###.##')
The issue is, is the underlying data will always be changing whenever the user clicks on a different point on the map. This is why I am trying to write the code to essentially grab whatever the results are from the first expression (or Step 1).
The goal is to have it look something like this...
![BryantKosanovich_2-1681934452933.png BryantKosanovich_2-1681934452933.png](https://community.esri.com/t5/image/serverpage/image-id/68488iF26E2FCB38416AD1/image-size/medium?v=v2&px=400)