I have a bench layer for example. Two of the fields are {Park_Name} and {condition_score}
I am trying to write an expression that shows me the average bench score in the park, where I clicked on that bench.
I at least have this built so far:
var benchBuff = Buffer($feature, 3000, 'foot')
var benchWithin = Intersects(benchBuff, $layer)
return Round(Average(benchWithin, "condition_score"), 1)
I am just not sure how or where to include the {Park_Name} filter and/or sql variable in the expression?