Ich möchte eine einfache Formel zum Hinzufügen von Spalten erstellen, die aus einer Liste stammen.
Die Liste kann in der Anzahl der Elemente variieren.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Bands Data.JMP" );
col_list = {"varnish pct", "ink pct", "solvent pct" };
<BR />// expected formula (hard coded)
dt << New Column( "mysum",
Formula( Sum( :varnish pct, :ink pct, :solvent pct ) )
);
Diese Lösung funktioniert für eine Col Sum.
https://community.jmp.com/t5/Discussions/Using-list-of-columns-in-formulas/td-p/405133