Hi Team - Need your support on below, Thanks in advance.
I need to generate result Column as a output (shown below).
Result Logic : In case last 3 days numbers are same then A or if not then B.
My challenge was dates (Column headings) are keep changing because i am extracting last 3 days of information and at the same time i need a final output with dates similar like below mentioned.
| ID | 12/7/2022 | 12/8/2022 | 12/11/2022 | Results |
| 631 | 3.66 | 3.64 | 3.6 | B |
| 28206 | 150 | 150 | 150 | A |
| 28208 | 31 | 31.9 | 32.21 | B |
| 34638 | 21.41 | 21.41 | 21.41 | A |
| 36982 | 45.89 | 45.8 | 44.6 | B |
| 47349 | 13 | 13 | 13 | A |
| 49887 | 29.11 | 28.91 | 29.35 | B |
| 51031 | 30.38 | 31.26 | 31.15 | B |
| 61909 | 274 | 274 | 274 | A |
Thanks.