I opened up a case with CA and I am placing the resolution to this issue below. This was happening to me in 13.3.
Resolution:
CLRT-71923 - Sum of calculated numbers fails when attribute id of the sum includes an underscore This couldn't be
reproduced in version 14.1. Workaround: Do not include underscore in the attribute id of calculated attributes.