Quantcast
Channel: Crystal Reports
Viewing all articles
Browse latest Browse all 1507

Group Sum base on value of a field

$
0
0

Hi. I'm having trouble summing up the PHP amount and USD amount per group. 

The total amont should be based on the field AdjustmentType.

If AdjType = "Income", the amount should be included in the sum for Total Income 

If AdjType = "Deductions", the amount should be included in the sum for Total Deduction

Please see the image

https://www.dropbox.com/s/s1g9bhzmkymepvg/Capture.JPG?dl=0

What I got so far only gets the last record amount for the group. EmployeeNo is the unique identifier.

I would really appreciate someone who can help me. Thanks a lot!


Viewing all articles
Browse latest Browse all 1507

Trending Articles