Hello! This is my test table. I would have 3 questions. ID amt 1 10 1 12 1 50 1 52 2 10 2 11 2 13 3 60 3 65 3 120 1. If, after the first two occurrences, the difference is greater than 20% compared to the third one, then do one flg how can i do it? 2. Same table but I'd like to mark only if the amount fields do not change and always the same how can i do it? 3. Same table but I'd like to mark only if the amount fields always changeing. How can i do it?.(each is different) ID amt 1 10 1 12 1 50 1 52 2 10 2 11 2 13 3 60 3 65 3 120 1. eg: new final table looks like: Id flg 1 y 2 n Thanks for your help!
... View more