Conditional group SUM in Crystal Reports
问题 I've been doing some accounting reports and have been summing up my different currencies using a formula IE CanadianCommissionFormula if {myData;1.CurrencyType} = "CDN" then {myData;1.Commission} else 0 CanadianCommissionSum SUM({@CanadianCommissionFormula}) Then I'd just display the CanadianCommissionSum at the bottom of the report and things were great. I've just come across the requirement to do this, but grouped by Sales Rep. I tried using my previous formula, but this sums for the whole