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.
Let me know if you need anymore info too please and thank you!!!
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.
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...