For a grid with sales, profit and profit margin percentage columns and grouped by customer, I would like to have a SummaryRow showing the totals for each column.
For the sales and profit columns this is easy to do with a Sum StatFunction, but how can I display a meaningful profit margin percentage?
It should be calculated from the sales and profit totals, but I can’t see an easy way of doing this.
Is there any sample code showing how to do this?
Imported from legacy forums. Posted by Chris (had 3092 views)