I tried to create a simple SUM function.
In a video it explains transaction as Line Item whereas I failed it as Line Item.
So I tried using Transaction as a List. It worked out.
Can you please let me know, if I am right or wrong?
I have shared Screenshots for reference.