I have a report in which I need to calculate the number of days between a date value stored on each record for a customer. Below is an example of how the data would look:
order # customer ID order date
1 123 12/21/2004
5 123 12/28/2004
10 123 01/16/2005
25 123 02/15/2005
What I need is a calculation that would show something like this:
Customer 123
Order 1 12/21/2004
Order 5 12/28/2004 7 days
Order 10 01/16/2005 19 days
Order 25 02/15/2005 30 days
The calculation would need to reset itself at the beginning of each new customer group. I would greatly appreciate any assistance that you could provide!!
Sandy
order # customer ID order date
1 123 12/21/2004
5 123 12/28/2004
10 123 01/16/2005
25 123 02/15/2005
What I need is a calculation that would show something like this:
Customer 123
Order 1 12/21/2004
Order 5 12/28/2004 7 days
Order 10 01/16/2005 19 days
Order 25 02/15/2005 30 days
The calculation would need to reset itself at the beginning of each new customer group. I would greatly appreciate any assistance that you could provide!!
Sandy