For one of my project I need to calculate subtotal in ROW. I have spent 3 weeks figuring out a way in alteryx but nothing did not work. Please see below table. I need to calculate rows where there is X.
| Account | 2022 | 2021 |
| Interest Expense | 4353 | 1315 |
| Interest Income | 4432 | 3232 |
| Net Interest | xx | xx |
| Commissions | 232 | 4342 |
| Other income | 323 | 322 |
| Other expense | 3232 | 5344 |
| Net income | xx | xx |
I am thinking to have this table in a Horizontal format and do a normal formula tool calculation. Is it possible to convert the table within the alteryx
| Account | Interest Expense | Interest Income | Net Interest | Commissions | Other income | Other expense | Net income |
| 2022 | 4353 | 4432 | xx | 232 | 323 | 3232 | xx |
| 2021 | 1315 | 3232 | xx | 4342 | 322 | 5344 | xx |