Hello,
I am trying to add columns together by refereing to the columns numbers instead of their names. Here is an example of what I worte so far
dt = Current Data Table();
dt << New Column("Luq", Numeric, continuos, Format ("Best", 5), << Set Each Value (2));
dt << New Column("Fin", Numeric, continuos, Format ("Best", 5), << Set Each Value (3));
dt << New Column("Final Result", Numeric, continous, Format("Best", 5 ), Formula ( Add Columns ({6,7})), << Add Column properties(Set property ("Value Colors", {if (:Final Result >= 9 = 3, :Final Result >= 5 = 9, :Final Result <5 = 4 )}), Color Cell by Value));
You can also see that I am trying to color the columns by their value number. What I want to code is "if that the value is greater than 9 color RED, if it is greater that 5 color YELLOW and else color GREEN"
Thank You.