clintthorn
Registered User.
- Local time
- Today, 08:34
- Joined
- Jul 2, 2008
- Messages
- 16
I am trying to create column that calculates revenue based off of both data within a query and another table. So far I have: IIf([Product]="CHR",[rate]*[installed]*[activation],0).
The [activation] is where I am having the issue as that data is in another tab and relates to two of the fields in the query--'Month' and 'Country'.
For example: in the USA for the month of June the activation was 50% and the UK was 35%, while July was 60% and 42% respectively.
There are two ways I can think of to set the activation table up:
1. Columns are 'Month', 'Country', and 'activation
2. Columns are 'Country', 'Jan', 'Feb', 'Mar', ... 'Dec' and under each month are the respective activations.
So I guess there are two questions: Which format would be better? And, how would I join the activation so that it is connected to multiple fields in the query?
Thanks,
The [activation] is where I am having the issue as that data is in another tab and relates to two of the fields in the query--'Month' and 'Country'.
For example: in the USA for the month of June the activation was 50% and the UK was 35%, while July was 60% and 42% respectively.
There are two ways I can think of to set the activation table up:
1. Columns are 'Month', 'Country', and 'activation
2. Columns are 'Country', 'Jan', 'Feb', 'Mar', ... 'Dec' and under each month are the respective activations.
So I guess there are two questions: Which format would be better? And, how would I join the activation so that it is connected to multiple fields in the query?
Thanks,