Rhett,
You got me thinking logically. I created the expression
var aa = Intersects(FeatureSetByName($map, "StatesWithSenators",['Fname1','LName1', 'Balloted1']),Centroid($feature))
for (var f in aa)
if(text(f.Balloted1) == "[R]") {
return "FF0000"
}
if(text(f.Balloted1) == "[D]") {
return "0000FF"
}
if(text(f.Balloted1) == "[I]") {
return "BEBEBE"
}
and then added to the text source for my pop up
<span style="font-size:large;">Senator(s): <font color="{expression/expr8}">{expression/expr10}</font>
and it worked out perfectly. Thank you so much.
GR