Thanks. Running your script directly gives me the following error
Column Must be Numeric in access or evaluation of 'Parameter' , :Parameter/*###*/
In the following script, error marked by /*###*/
dt = Current Data Table();
Summarize( dt, thePartID = by( :PartID ), theMin = Minimum( :Parameter/*###*/ ) );
dt << clear select;
For( i = 1, i <= N Items( thePartID ), i++,
dt << select where(
:PartID == thePartID[i] & :Parameter == theMin[i],
current selection( "extend" )
)
);
dtSelected = dt << subset( selected rows( 1 ), selected columns( 0 ) );
Perhaps the third line should be
Summarize( dt, thePartID = by( :PartID ), theMin = Minimum( :Yield) );
Anyway running the script give me with the above line.
Empty()
I have attached the data table with script inside.
When it's too good to be true, it's neither