Hi
Could someone guide me on the best approach to achieve this transformation in Alteryx? Any tips on using specific tools or configurations would be greatly appreciated. Note also that there are a lot more reject reasons that will be added and hoping that the total will also adjust.
I have attached the input file for your reference. Below is also the screenshot.

This is the output I would like to generate.

Please help.
Thanks,
Kamen