Results 1 to 2 of 2
  1. #1
    ckk922 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    1

    Multiple calculations for single field in one query

    Hello,

    I am designing a database in Access 2010 to handle customer discounts. The problem I am facing is that the discount can vary by customer. One could be a straight percentage based on certain sales totals, even the percentages can vary by customer, and some customer discounts are tiered. I was hoping there was a way to handle all through one query, because there are so many variations, it would require several queries if I separate by each calculation available.

    Is there a way to set up a table listing the customer and their corresponding calculation expression then running a query using that table and the sales data table to do all the calculations. Or is there another way to handle this level of complexity in Access? The end result I would like is one data set with each customer and their calculated discount.

    Thank you for any help you can provide.

  2. #2
    trevor40's Avatar
    trevor40 is offline Advanced db Manager
    Windows XP Access 2003
    Join Date
    Feb 2014
    Location
    Australia
    Posts
    402
    you should use a table to keep account of current discount rates, fields can include various discount reasons with descriptions. this can then be updated as required. you then link your data to the reference table and do all the calculations there on the data with respect to the references.

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

Similar Threads

  1. Multiple choice in a single field
    By fabads in forum Access
    Replies: 6
    Last Post: 05-21-2013, 11:45 AM
  2. Replies: 2
    Last Post: 07-27-2012, 08:27 AM
  3. Replies: 3
    Last Post: 02-14-2012, 09:43 AM
  4. Calculations with a multiple value field
    By ashwin09 in forum Forms
    Replies: 12
    Last Post: 07-31-2011, 11:22 AM
  5. Replies: 1
    Last Post: 07-07-2009, 01:00 PM

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