Hello people,
Subject lines are usually cryptic, so I'll try to explain my problem in a lot of detail - don't be scared by the length of it
My company has lots of articles grouped in families, stored in a table
Article sales per month is stored in a table.
table 1 (the one with the articles) is like this:
Family Article
F5200 A120
F5200 A250
G2350 A180
G2350 A450
etc.
So each family has most of the times multiple articles (members).
table 2 (the one with the sales) is like this:
Article Month Quantity
A120 500
A120 200
A120 100
A250 1000
A250 250
A450 300
A180 400
etc.
I created a Totals Query to give me the total sales per article:
Article SumOfQuantity
A120 800
A250 1250
A450 300
A180 400
Now I would like to know within each family which article is the best runner.
The query (queries) should result in a table like this:
Family Article
F5200 A250
G2350 A180
The actual total doesn't even have to show...
I've been breaking my brains on this. No success. Please help.
Thanks for your input.
S.
Subject lines are usually cryptic, so I'll try to explain my problem in a lot of detail - don't be scared by the length of it
My company has lots of articles grouped in families, stored in a table
Article sales per month is stored in a table.
table 1 (the one with the articles) is like this:
Family Article
F5200 A120
F5200 A250
G2350 A180
G2350 A450
etc.
So each family has most of the times multiple articles (members).
table 2 (the one with the sales) is like this:
Article Month Quantity
A120 500
A120 200
A120 100
A250 1000
A250 250
A450 300
A180 400
etc.
I created a Totals Query to give me the total sales per article:
Article SumOfQuantity
A120 800
A250 1250
A450 300
A180 400
Now I would like to know within each family which article is the best runner.
The query (queries) should result in a table like this:
Family Article
F5200 A250
G2350 A180
The actual total doesn't even have to show...
I've been breaking my brains on this. No success. Please help.
Thanks for your input.
S.
Last edited: