I want to have the color of the lines defined by ean xpression. It has to be looked up in a csv-color-table by an Object-Nr
Layer 1 = Line Objects with 'INVENTORY_TYPE_KEY' (= Object-Nr)
Layer 2 = CSV "IO_Color_Table" with a defined 'Color' (=field_2) for each 'Object-Nr' (=field_1)
attribute(
get_feature(
'IO_Color_Table_12e2ca88_0a50_47ce_97a3_b38d42613dd7',
'INVENTORY_TYPE_KEY' ,
'field_1'
),
' field_2'
)
The expression does not find the corresponding color. I can't figure out why it is not working.

blue,red, RGB values, HEX?