Formula to make a new column
I have a table with four columns, and I am trying to make a new column based off of the available columns. Here is my script:dtq = current data table();
a = dtq << New Column( "E",
Formula(
If(
Is Missing( :A ) & Is Missing( :B ), Abs( :C ),
Is Missing( :A ), Abs( :C / (:B - :D) ) ,
Is Missing( :B ), Abs( :C / (:D - :A) ),
//If !Is Missing( :A ) & !IsMissing( :B ),
//then do Abs
...