How to select a subset of a data table given a subset of rowsHi this should be fairly simple to knock out.
How do I select a subset of a data table, all columns, given a subset of its rows?
I didn't see anything about this in the scripting index, neither in select where nor in subset. But apologies if it's obviously found somewhere. I just didn't find it.
Mike
Data TableScriptingRe: How to select a subset of a data table given a subset of rowsI tried
data = dt << Subset( Rows(rows));
but it only gave me individual data tables (subsets, so, technically correct) of the first column of the row. I don't know why.
Re: How to select a subset of a data table given a subset of rowsdata = dt << Subset( Rows(rows), selected columns(0));
Try the above. I am assuming that your variable rows contains a matrix to the row numbers you want subsetted.