I have an existing database that tracks sales of external sales companies that we use to distribute our product.
Historically, we have tracked these agencies using a field named "masterbrokerkey" However, one of the outside companies may actually be two companies that together make up one of our masterbrokerkeys (basically they merged and sell under one name for us)
Now, I need to track one of these masterbroker key fields individually.
I do have another field that I use (brokerkey) for each of the individual agencies - therefore, I would have two brokerkeys under one masterbrokerkey.
My question is regarding table set-up. I have a table that holds the monthly results (tblsummarynet) and it is based on masterbrokerkey. The table tracks net growth so I have the following fields:
masterbrokerkey, year, month, base, current, growth
(growth is a % of growth that is ytd)
My question is now that I have to track these seperately, do I just add the brokerkey to the table? The problem is that I have several queries that use this table at the masterbrokerkey level and pull the "growth" field. Once I add the brokerkey I would have to calcuale the growth by masterbroker before using it in each of these queries that now just pull the growth number from the table.
I am thinking that this is probably the way to go but I am losing the fact that the growth field is in the table and now needs to be calculated.
I guess the other option is to create a seperate summary table by brokerkey.
Looking for advice - thanks!!
Historically, we have tracked these agencies using a field named "masterbrokerkey" However, one of the outside companies may actually be two companies that together make up one of our masterbrokerkeys (basically they merged and sell under one name for us)
Now, I need to track one of these masterbroker key fields individually.
I do have another field that I use (brokerkey) for each of the individual agencies - therefore, I would have two brokerkeys under one masterbrokerkey.
My question is regarding table set-up. I have a table that holds the monthly results (tblsummarynet) and it is based on masterbrokerkey. The table tracks net growth so I have the following fields:
masterbrokerkey, year, month, base, current, growth
(growth is a % of growth that is ytd)
My question is now that I have to track these seperately, do I just add the brokerkey to the table? The problem is that I have several queries that use this table at the masterbrokerkey level and pull the "growth" field. Once I add the brokerkey I would have to calcuale the growth by masterbroker before using it in each of these queries that now just pull the growth number from the table.
I am thinking that this is probably the way to go but I am losing the fact that the growth field is in the table and now needs to be calculated.
I guess the other option is to create a seperate summary table by brokerkey.
Looking for advice - thanks!!