I have the similar requirement with slight change , need your Help in that -
My dataset is as below -
Company ID Effective Date Status Codes
C1 1st March JS
C1 2nd March AB
C1 3rd March ZB - previous row
C1 4th March JS
C1 5th March JS - current row
I want my resultset to return only current and preiosu record where there is change in the status , like below
Company ID Current Status Preious Status
C1 JS ZB
can you please help me in this.
Hi Dieter ,
I have the similar requirement with slight change , need your Help in that -
My dataset is as below -
Company ID Effective Date Status Codes
C1 1st March JS
C1 2nd March AB
C1 3rd March ZB - previous row
C1 4th March JS
C1 5th March JS - current row
I want my resultset to return only current and preiosu record where there is change in the status , like below
Company ID Current Status Preious Status
C1 JS ZB
can you please help me in this.
Thanks
Kanch