How to Compare and get change data

i got error. below attach my screen shot of error, variable and argument

Thank you