How to script an aggregate column from a variable list of column references
I have a list of columns that I need to aggregate automatically. Currently, what I'm trying is something like this, which isn't yielding any results.cols = {:col1, :col2, :col3}
Eval(Eval Expr(
dt << New Column(
Formula(Minimum(Expr(cols))
)
)
I've also tried generating this interactively and saving the column formula. It works, but gives me Minimum(:col1, :col2, :col3)
which I'm not sure h...