I have data as shown in the table below
|ItemNo| Date |Value|
--------------------------
| 101 | 201002 | 5 |
| 102 | 201002 | 3 |
| 201 | 201002 | 7 |
| 202 | 201002 | 2 |
| 101 | 201003 | 6 |
| 102 | 201003 | 3 |
| 201 | 201003 | 7 |
| 202 | 201003 | 1 |
Result Expected
|ItemNo| Date |Value|
--------------------------
| 100 | 201002 | 2 |
| 200 | 201002 | 5 |
| 100 | 201003 | 3 |
| 200 | 201003 | 6 |
Sorry for the format. I have reformatted it now. I am trying to get the difference in Value between Item No 101 and 102 for the Date 201002. Is this possible to get. Any help is greatly appreciated.