I am having issue with sum function in some instances. The below is the sum function I have. I am summing per given "cd". That will be reset value.
The result I see is as follows. The highlighted rows both get created when only one should have been created. Any idea how I might be able to resolve this?