This will find all duplicate rows
Tables=>Summary
and specifying for grouping, all of the columns that will detect matching rows.
Then delete all rows in the Summary table that found only a single row for the grouping columns(N Rows==1 indicates no duplicates found).
Then use
Tables=>Update
to merge the Summary table back into the original table, matching on the grouping columns.
You can then use
dt << select where(:nrows<0)
to find all of the duplicate rows.
You can also use the Select Duplicate Rows, leaving the last row found as unselected. Then by deleting all of the selected rows, you will delete all of the duplicate rows except the last row found. To do this:
Create a new column. Call it RowNum. Set the formula for the new column to
Row()
Then go to the Col Info window for the new row, and Remove the formula.
Next sort the data in descending order based upon the RowNum column.
Now run the Select Duplicate Rows. It will find all duplicate, leaving the first matching row unselected, which because of the sorting, is actually the last duplicate row.
Delete the selected rows.
Sort the data again, this time sort it by ascending RowNum, which returns the table back to the original order.
Then delete the RowNum column
Jim