Hi Team,
Hope everyone is well and safe,
Am just trying to add a subtotal by category wise but not happening. Its very simple like below. Can anyone help me ?
Raw table :
| Category | 2015 | 2016 | 2017 | 2018 |
| Apple | 2 | 14 | 19 | 16 |
| Mangoes | 10 | 22 | 27 | 24 |
| Banana | 18 | 30 | 35 | 32 |
| Tomatoes | 38 | 50 | 55 | 52 |
| Onion | 46 | 58 | 63 | 60 |
| Peace | 54 | 66 | 71 | 68 |
| Ginger | 62 | 74 | 79 | 76 |
Expected output
| Category | 2015 | 2016 | 2017 | 2018 | Grand total |
| Apple | 2 | 14 | 19 | 16 | 51 |
| Mangoes | 10 | 22 | 27 | 24 | 83 |
| Banana | 18 | 30 | 35 | 32 | 115 |
| Total Fruits | 30 | 66 | 81 | 72 | 249 |
| Tomatoes | 38 | 50 | 55 | 52 | 195 |
| Onion | 46 | 58 | 63 | 60 | 227 |
| Peace | 54 | 66 | 71 | 68 | 259 |
| Ginger | 62 | 74 | 79 | 76 | 291 |
| Total Vegetable | 200 | 248 | 268 | 256 | 972 |
| Grand total (Fr+Veg) | 230 | 314 | 349 | 328 | 1221 |