Hi,
I want to combine string value based on other value dynamically. If any yes flag is coming repetitively then it has to consider last 'N' Value so that it will combine my expected result.
Can anyone help into this
My source file looks like
My Target file has to look like
I want to combine string value based on other value dynamically. If any yes flag is coming repetitively then it has to consider last 'N' Value so that it will combine my expected result.
Can anyone help into this
My source file looks like
id | flag | value |
1 | N | A |
2 | N | B |
3 | Y | C |
4 | Y | D |
5 | N | E |
6 | N | F |
7 | Y | G |
8 | N | H |
My Target file has to look like
id | flag | value |
1 | N | A |
2 | N | BCD |
5 | N | E |
6 | N | FG |
7 | N | H |