I have a query that retrieves records based on a Start Date and an End Date that the user specifies on a form.
The query retrieves results like this:
I am trying to get the results to Group By Year, then Group By PlanDesc, and show the sum of AwardUnits and sum of ForfeitedUnits (per plan, per year).
Does anyone have any experience with something like this?
I am trying to get it to look like:
How the report currently looks: (See attachments)
Currently, the report is giving me incorrect data. I suppose I can always send someone a copy if need be. I feel like there is a problem with the Group By or something.
Thanks for any help.
[IMGNOTHUMB]http://bytes.com/attachments/attachment/7582d1397159504/forfeitrpt.jpg[/IMGNOTHUMB]
[IMGNOTHUMB]http://bytes.com/attachments/attachment/7583d1397159581/forfeitdesign.j pg[/IMGNOTHUMB]
The query retrieves results like this:
Code:
PlanDesc AwardDate AwardUnits ForfeitedUnits PaidOutUnits AwardID PlanID LTIR 1 3/1/2012 5.00 0.00 0.00 1627727365 1 LTIR 1 3/1/2012 5.00 5.00 0.00 -1610671448 1 LTIR 1 3/1/2012 8.00 0.00 0.00 1015507630 1 LTIR 1 3/1/2012 18.00 14.40 0.00 2081999682 1 LTIR 2 3/1/2012 2.00 0.00 0.00 1723620712 2 LTIR 2 3/1/2012 3.00 0.00 0.00 -1915096017 2 Field 5/1/2012 2.00 2.00 0.00 1462793196 3 LTIR 1 3/1/2013 6.00 0.00 0.00 -699388702 1 LTIR 1 3/1/2013 7.00 0.00 0.00 321262743 1 LTIR 2 3/1/2013 2.00 0.00 0.00 -1660429495 2 LTIR 2 3/1/2013 2.00 0.00 0.00 1318429519 2
Does anyone have any experience with something like this?
I am trying to get it to look like:
Code:
Year
2012
PlanDesc Forfeited Units Awarded Units
LTIR 1 19.4 36
LTIR 2 0 5
Field 2 2
Currently, the report is giving me incorrect data. I suppose I can always send someone a copy if need be. I feel like there is a problem with the Group By or something.
Thanks for any help.
[IMGNOTHUMB]http://bytes.com/attachments/attachment/7582d1397159504/forfeitrpt.jpg[/IMGNOTHUMB]
[IMGNOTHUMB]http://bytes.com/attachments/attachment/7583d1397159581/forfeitdesign.j pg[/IMGNOTHUMB]
Comment