Loop to find max value for each unique values
Hi, I am trying to iterate over each values of X and Y and save the max rn value in the MaxValue column. Here is what I tried but something doesn't seem correct. Any advice?Names Default To Here( 1 );
dt = Current Data Table();
dt << begin data table();
// Loop through rows
For( i = 1, i <= N Rows( dt ), i++,
currentBarcode = dt:Barcode[i];
// Find the location of the maximum rn value for
...