total row calculations for portfolios and holdings lists