Hi I have an existing Table called "ListItems" which I want to add a "Color" column with RGB info depending if a nested record value ""Phase.Value" matches the "Value" of another table - return column "PhaseColor" (in this case "IndexedPhases").
I have tried the following but it does not recognize "Phase.Value" as valid. Does it not reference the "Collect" source (ListItems) for this value similar to how ForAll function works?
Collect(ListItems, {Color : LookUp(IndexedPhases,Phase.Value=Value, PhaseColor)});
ListItems table below with Phase column.

ListItems.Phase record below

IndexedPhases Table to compare with below

Any help would be appreciated!