Table: Column Styles Color Mode Threshold

is there a way to align the threshold for coloring to another column of a table, instead of using a fixed threshold?

What do you mean by align? Can you give an example?

Imagine I have a table with two columns. I want to color the second column depending on the value in the first column, row by row.