Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
gireesh1216
Creator II
Creator II

Need Help

Hello Team,

Please help me on below scenario. 

we have raw data like below:

IDNAMEDSTATUS
1216GIREESHD1PASS
1216GIREESHD2 
1216GIREESHD3 
1216GIREESHD4 
1217NARESH FAIL
1217NARESHD5 
1217NARESHD6 
1217NARESHD7 

 

Result: Need STATUS as New Status column if ID and NAME is same.

IDNAMEDSTATUSNew Status
1216GIREESHD1PASSPASS
1216GIREESHD2 PASS
1216GIREESHD3 PASS
1216GIREESHD4 PASS
1217NARESH FAILFAIL
1217NARESHD5 FAIL
1217NARESHD6 FAIL
1217NARESHD7 FAIL
1 Solution

Accepted Solutions
Anil_Babu_Samineni

Don't create Dump

If(ID&NAME=Previous(ID&NAME), peek('New_Status'), STATUS) as New_Status

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

1 Reply
Anil_Babu_Samineni

Don't create Dump

If(ID&NAME=Previous(ID&NAME), peek('New_Status'), STATUS) as New_Status

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful