S
solsen via AccessMonster.com
Hi,
I am trying to create a query that shows the number of orders a customer has.
The data set I am using will not have any customer information in the periods
with no sales, so they would be skipped from a sequential stand point. A
Sample of the data table is below
Output
Period Cust Sales Orders
200809 CustA 100 1
200810 CustA 0 1
200811 CustA 200 2
200812 CustA 0 2
Data Table
Period Cust Sales
200809 CustA 100
200811 CustA 200
I am trying to create a query that shows the number of orders a customer has.
The data set I am using will not have any customer information in the periods
with no sales, so they would be skipped from a sequential stand point. A
Sample of the data table is below
Output
Period Cust Sales Orders
200809 CustA 100 1
200810 CustA 0 1
200811 CustA 200 2
200812 CustA 0 2
Data Table
Period Cust Sales
200809 CustA 100
200811 CustA 200