Hello, I am working on writing Arcade expressions for a dashboard table element. I would like to assign a color to the record based on a dominant attribute class (that is based on a numerical field - greatest area) and I am struggling with a workflow to accomplish this.
I can perform this workflow when the data layer is a data expression, but this is not ideal because it 1) does not allow table action to zoom to map, and 2) does not work with my dynamic charts due to the altered fields.
Here is what I am not able to figure out: I have a table where one field has multiple records with the same name, and thus I need to use the "Grouped values" type. However, I have also prepared the data with categorical attributes in the table that I would like to be able to retain, rather than a Count of values, which it defaults to. How can I reference the names from this text field without using a data expression, in order to assign the correct color to the table record?