Crosstab Query

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GLEberts
    New Member
    • Mar 2008
    • 51

    #1

    Crosstab Query

    I have a crosstab query for 12 months of sales. It works well except is adds all the months sales together for every year. Does not seperate 2009 from 2008 and so on. It sums all the years together per month.

    Column 1
    Field: Salesrep
    Table: tblJob
    Total: Group By
    Crosstab: Row Heading

    Column 2
    Field: Expr1: Format([BoardDate],"mmm")
    Total: Group By
    Crosstab: Column Heading

    Column 3
    Field: SaleAmount
    Table: tblJob
    Total: Sum
    Crosstab: Value

    Column 4
    Field: Total Of SaleAmount: SaleAmount
    Table: tblJob
    Total: Sum
    Crosstab: Row Heading


    I tired to insert a column for [boarddate] and put in "year(now() )
    I tried to insert in column 2 "year(now() )
    I tired literally 30 to 40 other combinations.
    Come up with either no results or errors.

    Need Help!
    Thanks
    Gary
  • GLEberts
    New Member
    • Mar 2008
    • 51

    #2
    I just worked it out -
    thanks
    Gary

    Comment

    Working...