T
Trey
Hi,
I need to create a crosstab that produces cumulative percentages over
12 months. I have a database with several companies entered in it.
Each company is assigned one of two types: TypeA, TypeB
The companies are also assigned 3 dates: Estimation1, Estimation2,
Actual
Finally each company has a sales revenue %.
My query needs to figure out which date is higher (est1, est2, or
actual) and then use ONLY that date for the query. (this is where i am
stuck). It will then need to produce a cumulative sum of the revenue
figures.
|Jan | Feb |
|BusA |Revenue % | Revenue % |
|BusB |2% | 4% | 6
Does anyone have any ideas? Thanks in advance!
-Trey
I need to create a crosstab that produces cumulative percentages over
12 months. I have a database with several companies entered in it.
Each company is assigned one of two types: TypeA, TypeB
The companies are also assigned 3 dates: Estimation1, Estimation2,
Actual
Finally each company has a sales revenue %.
My query needs to figure out which date is higher (est1, est2, or
actual) and then use ONLY that date for the query. (this is where i am
stuck). It will then need to produce a cumulative sum of the revenue
figures.
|Jan | Feb |
|BusA |Revenue % | Revenue % |
|BusB |2% | 4% | 6
Does anyone have any ideas? Thanks in advance!
-Trey