Hello All,
I have a data set and i need the difference in this format (Attached table below)
Desired output:
| Products | Cost (x) | Items | Cost(Y) | Variance (X)-(Y) |
| A | 100 | X | 500 | -250 |
| B | 150 | | | |
I need the output in the same format as attached above and when I try to do it in Alteryx using summarize and union tool I am getting the output
Output I am getting now:
| Products | Cost (x) | Items | Cost(Y) | Variance (X)-(Y) |
| A | 100 | X | 500 | |
| B | 150 | | | |
| Total | 250 | Total | 500 | -250 |
Can you please let me know if there any way I can move the variance to Specific Item it relates to (X in the above example)
Thanks a lot for your effort and time.
Regards,
Rafi