Results 1 to 2 of 2
  1. #1
    areadman is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Dec 2011
    Posts
    1

    Calculating the Difference between the same Sumof Field

    Hi,

    I have a Pivot Table created from a query as follows.

    Query:
    [Net Sales]
    Week No: Format([Sales Date],"ww")
    New Week No: Right("0" & [Week No],2)
    [Sales Date]

    Having created a Pivot Table from the above query, it look like the image attached. Since the SumOfNet Sales is the same field, how do I calculate the difference between the 2 for each year. Ie. for say Week No 15, to calculate the difference between Net Sales of 2011 to Net Sales 2010.

    Thank you in advance for your help.

    Regards



    Alex

  2. #2
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    I don't know anything about pivot tables, but shouldn't your week no be:

    Format(SalesDate,"yyyy") & Format([Sales Date],"ww")

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 10
    Last Post: 12-27-2011, 01:20 PM
  2. Calculating field from look up table
    By hmcquade in forum Forms
    Replies: 1
    Last Post: 05-20-2011, 11:12 AM
  3. Replies: 3
    Last Post: 05-11-2011, 02:32 PM
  4. Mark the difference
    By zhshqzyc in forum Access
    Replies: 1
    Last Post: 01-28-2011, 08:49 AM
  5. Auto Calculating in remaining field.
    By aligahk06 in forum Forms
    Replies: 1
    Last Post: 05-16-2010, 01:06 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums