There are two columns:
col_A | col_B |
---|---|
111 | 2.0 |
222 | 1.0 |
222 | 2.0 |
333 | 1.0 |
Using alter row transformation i would like to select rows that have repeated entries in col_A, in this example 222 and select the corresponding highest value in col_B i.e. 2.0
The output should look as follows:
col_A | col_B |
---|---|
111 | 2.0 |
222 | 2.0 |
333 | 1.0 |