I have the following dataset:
For the rows with common key, I want to separate the status based on earlier date
Like, X - if d2 > d1 then filter out the row
@saachitalwar Something like this works for you?