title: How to get sum by groups in Crystal Report
body: <p>I want to get the sum by the groups in Crystal Reports.</p>
  
  <pre><code>Group OVERALL
  -----------------
        group 1
       --------------
            5.00
            5.00
           10.00
       --------------
       total group 1      20.00
       --------------
        group 2
        --------------
           10.00
           25.00
           15.00
        --------------
       total group 2      50.00
  -------------------
  Total Group OVERALL     70.00
  </code></pre>
  
  <p>Using this formula <code>sum({field.amount}, {field.group})</code> I only get sum for OVERALL but not for group 1 and 2.</p>