machumpion
Registered User.
- Local time
- Today, 14:44
- Joined
- May 26, 2016
- Messages
- 93
I made a cross tab query
Rows (name, address, state, phone) [table: customer]
Columns: (month) [table: order]
Value: (sales $) [table: order]
when i run the query, multiple rows will appear for the same customer, therefore the sales value of that customer is not summed up for months where it displays more than 1 value per month for 1 customer.
Why is this happening?
edit: in addition to the month, the records on the orders table also show what product was ordered, i suspect that the cross tab is still segmenting by product even though it's not a field in the cross tab query. if this is the case, is there a way around it without creating a table with just the sum of orders per month and creating a query based on that?
Rows (name, address, state, phone) [table: customer]
Columns: (month) [table: order]
Value: (sales $) [table: order]
when i run the query, multiple rows will appear for the same customer, therefore the sales value of that customer is not summed up for months where it displays more than 1 value per month for 1 customer.
Why is this happening?
edit: in addition to the month, the records on the orders table also show what product was ordered, i suspect that the cross tab is still segmenting by product even though it's not a field in the cross tab query. if this is the case, is there a way around it without creating a table with just the sum of orders per month and creating a query based on that?
Last edited: