Ideally the calculations should either take place in Query or in reports.