I have a rather large database.
One table contains Area Manager names, Divisions, and numerous statistics/totals. These statistics are labeled with the month from which they are from.
I am trying to make a report that will show the top 25 managers, sorted by one column of statistics. A Third column will show the same statistic from last year.
Ex:
Manager X ManagerX'sTotal1Jan10 ManagerX'sTotal1Jan09
Manager G ManagerG'sTotal1Jan10 ManagerG'sTotal1Jan09
Manager A ManagerA'sTotal1Jan10 ManagerA'sTotal1Jan09
The issue that I am having is that I cannot get the report to order the rows by the second column.
The query that I am using contains the area manager name, date(Criteria, Jan09 orJan10), and the following two columns:
Total1: IIf([date]=#Jan09#,[Statistic1],0)
Total2: IIf([date]=#Jan10#,[Statistic1],0)
I have edited all of the Table and Field names and formatting only to simplify the asking of this question.
Any help would REALLY be appreciated!
Thank you!
One table contains Area Manager names, Divisions, and numerous statistics/totals. These statistics are labeled with the month from which they are from.
I am trying to make a report that will show the top 25 managers, sorted by one column of statistics. A Third column will show the same statistic from last year.
Ex:
Manager X ManagerX'sTotal1Jan10 ManagerX'sTotal1Jan09
Manager G ManagerG'sTotal1Jan10 ManagerG'sTotal1Jan09
Manager A ManagerA'sTotal1Jan10 ManagerA'sTotal1Jan09
The issue that I am having is that I cannot get the report to order the rows by the second column.
The query that I am using contains the area manager name, date(Criteria, Jan09 orJan10), and the following two columns:
Total1: IIf([date]=#Jan09#,[Statistic1],0)
Total2: IIf([date]=#Jan10#,[Statistic1],0)
I have edited all of the Table and Field names and formatting only to simplify the asking of this question.
Any help would REALLY be appreciated!
Thank you!