thenoisydrum
Registered User.
- Local time
- Today, 14:50
- Joined
- Jul 26, 2012
- Messages
- 52
Hi there,
This is a real situation that I need a bit of help with please.
Where I work the salesman that sells the most of a particular brand of tyre gets 3000 points, the second highest gets 2000 points and the third gets 1000 points.
I have a few very basic queries that calculates the number of tyres sold month to date and that then calculates the projection for the whole month. I sort this final query into descending order by projected units and then in the properties limit it to the top 3 values. (If there were more than one person in joint 2nd place they would both get 2000 points so this method is fine).
I want to add a column on the end that "applies" the points earned - How can I do that?
I have tried reading about the rank query but I don't think that is the correct way to go about it, or is it?
Can anyone help please?
Thanks in advance
'drum
This is a real situation that I need a bit of help with please.
Where I work the salesman that sells the most of a particular brand of tyre gets 3000 points, the second highest gets 2000 points and the third gets 1000 points.
I have a few very basic queries that calculates the number of tyres sold month to date and that then calculates the projection for the whole month. I sort this final query into descending order by projected units and then in the properties limit it to the top 3 values. (If there were more than one person in joint 2nd place they would both get 2000 points so this method is fine).
I want to add a column on the end that "applies" the points earned - How can I do that?
I have tried reading about the rank query but I don't think that is the correct way to go about it, or is it?
Can anyone help please?
Thanks in advance
'drum