Hi Team,
I need to create a custom column that contains the current status for an id based on the latest date and group by id. please find the below table
Stage | status | id | ForWeek | Currrent Status |
Execute | Amber | 1 | 2/20/2017 | Amber |
Execute | green | 1 | 1/19/2017 | Amber |
Define | red | 2 | 2/23/2017 | Red |
Execute | amber | 2 | 02/09/2017 | Red |
Execute | green | 2 | 02/08/2017 | Red |
Define | amber | 3 | 2/17/2017 | Amber |
so the end result should be like this
Stage | status | id | ForWeek | Currrent Status |
Execute | Amber | 1 | 2/20/2017 | Amber |
Define | red | 2 | 2/23/2017 | Red |
Define | amber | 3 | 2/17/2017 | Amber |
please help me with this functionality.
Regards,
Sivaaprataap