For a given group column, appends two boolean columns IS_FIRST_IN_GROUP and IS_LAST_IN_GROUP which mark the first and the last row in the current sorted order for the data if grouped by the given column.
If grouping by more than one column is required, then you must first create a new column containing the "composite key" of the concatenated other columns and then use this as the grouping column.
If you need to find the first or last "significant" row for a given column (e.g. the last non-zero value), then create a composite key column a column expression that only creates group values for the non-zero rows
May 5th 2021 @takbb Brian Bates
- Type: TableData, already sorted into the required order for processing by group