title: How to Sum the Group value and subtract of received value?
body: <p>I am generating the crystal report in which grouping by Type ,their are two types income and deduction.Each group have it sum(total).I have applied sum({table.field_to_summarize},{table.field_you_are_grouping_on}).Net amount should be soon at report Footer, sum of income - sum of deduction gives net Amount,
  but it give me 0 as value</p>
  
  <pre><code>Group      
         Income          
         50
         40         
         10
         100 &lt;- sum of the Income 
  
         Deduction
         40         
         10
         50 &lt;- sum of the Deduction 
  
  net    50 &lt;- sum of the Income  - sum of the Deduction     
  </code></pre>