I have a report grouped by PortfolioName then by the StockMarketCode.
In the Footer for StockMarketCode I have a text box [ProfitLoss] with the formula
=IIf([ClosingQuantity]>0 And [SumOfAmount]<0,[SumOfAmount]*-1,(IIf([ClosingQuantity]=0,[SumOfAmount]*-1,0)))
I'd like to be able to take the results in these text boxes and display the total in the Footer of PortfolioName
Can this be done?
I have tried =Sum([ProfitLoss]) but that didn't work
Thanks for the help
In the Footer for StockMarketCode I have a text box [ProfitLoss] with the formula
=IIf([ClosingQuantity]>0 And [SumOfAmount]<0,[SumOfAmount]*-1,(IIf([ClosingQuantity]=0,[SumOfAmount]*-1,0)))
I'd like to be able to take the results in these text boxes and display the total in the Footer of PortfolioName
Can this be done?
I have tried =Sum([ProfitLoss]) but that didn't work
Thanks for the help