Here is a simple crosstab showing daily sales figures for a particular day within a sample year.
Query5
SalesDay_____2008_______ 2009______ 2010______Avg(All Years)
Jan 1 _______2249.26_____2550.62____1823.02_____???
Jan 2_______ 8722.25____ 12918.56___ 11637.06____???
Jan 3________8854.21_____9560.93___ 4610.39_____???
etc.
Is there a way to automatically add a calculated field on the left showing the average of all years. Obviously you could make a new query from the results of this query, but then you would have to make a new formula every time you changed the year range.
Query5
SalesDay_____2008_______ 2009______ 2010______Avg(All Years)
Jan 1 _______2249.26_____2550.62____1823.02_____???
Jan 2_______ 8722.25____ 12918.56___ 11637.06____???
Jan 3________8854.21_____9560.93___ 4610.39_____???
etc.
Is there a way to automatically add a calculated field on the left showing the average of all years. Obviously you could make a new query from the results of this query, but then you would have to make a new formula every time you changed the year range.
Last edited: