I have negative amounts in my table I'm not sure how the sum works but it seems like it's only getting the last transaction amount. How can I display the correct sum? Totals summary of the page works.