jrhessey
IS-IT--Management
- Feb 25, 2005
- 37
I've got a report that is pulling items purchased and unit price. I've been asked to only pull the latest price though and sum the qty purchased per part number. I've created a group for customer # then a group for item #. In the Item # footer I have qty purchased sum and the running total field.
The formula is set to reset on the change of each item number group and the running total formula is
(
onlastrecord or
{@date_1-2} <> next({@date_1-2})
) and
{so_history.OrderDate} = YearToDate
The date_1-2 field is formula field I made to figure out if the date was year to date or last year, year to date. It is
if {so_history.OrderDate} in YearToDate then 2 else 1
Here is a picture of what I'm getting, the selected field is my running total field.
I'm running CR 8.5.
Thanks for any ideas.
The formula is set to reset on the change of each item number group and the running total formula is
(
onlastrecord or
{@date_1-2} <> next({@date_1-2})
) and
{so_history.OrderDate} = YearToDate
The date_1-2 field is formula field I made to figure out if the date was year to date or last year, year to date. It is
if {so_history.OrderDate} in YearToDate then 2 else 1
Here is a picture of what I'm getting, the selected field is my running total field.
I'm running CR 8.5.
Thanks for any ideas.