Using Crystal XI and am currently working on a very complex report (so I think). What I need to do is determine total revenue by customer based on which year their first order was placed. Sounds pretty easy. The catch is I only want a summation of the total revenue for each custmer from year their first order was placed in. I dont want to include any revenue received by the customer in any orders post the first order year. I began by grouping all customers by email address, then grouped them by Year in which the orders were placed. I inserted the following fields into my report for each customer [(WM_ORDER.EMAIL),(WM_ORDER.ORDERID)aka purchase order, (WM_ORDER.DT_PLACED),(WM_BILL.TOTRECD)aka Revenue)].
Please see an example below.
joesmith@1234.com
2003
PO#10000 06/01/03 $859.99
PO#11111 09/09/03 $35.99
2004
PO#33333 01/05/04 $651.22
2006
PO#55555 12/15/06 $1999.99
Dave@1234.com
2003
PO#20000 05/06/03 $400.10
2005
PO#40000 04/01/05 $70.23
PO#45000 08/01/05 $5000.00
My desired result for this report is to see the total revenue by customer when their first order was placed. I dont want to include any Orders other than those that were placed in the same year in my totals. So my desired result for the data above would be as follows
Joesmith@1234.com 2003 $895.98
Dave@1234.com 2003 $400.10
The reason I need to show all data and I can't just run it by year is that I dont want to include them in any other year besides the year their first order was placed. I plan on showing these totals by year to see how much revenue has increased by first time customers through the years. It would be much more simple if there was a view or for each year which provided emails first time customers.
I am open to any help
-Tim
Please see an example below.
joesmith@1234.com
2003
PO#10000 06/01/03 $859.99
PO#11111 09/09/03 $35.99
2004
PO#33333 01/05/04 $651.22
2006
PO#55555 12/15/06 $1999.99
Dave@1234.com
2003
PO#20000 05/06/03 $400.10
2005
PO#40000 04/01/05 $70.23
PO#45000 08/01/05 $5000.00
My desired result for this report is to see the total revenue by customer when their first order was placed. I dont want to include any Orders other than those that were placed in the same year in my totals. So my desired result for the data above would be as follows
Joesmith@1234.com 2003 $895.98
Dave@1234.com 2003 $400.10
The reason I need to show all data and I can't just run it by year is that I dont want to include them in any other year besides the year their first order was placed. I plan on showing these totals by year to see how much revenue has increased by first time customers through the years. It would be much more simple if there was a view or for each year which provided emails first time customers.
I am open to any help
-Tim