Results 1 to 4 of 4
  1. #1
    chrisescarcega is offline Novice
    Windows 10 Access 2010 32bit
    Join Date
    May 2018
    Posts
    3

    Access Query/Report Calculations

    
    This is how my query is currently set up. I want to add another column next the "Results" field that will take the counts in the "Results" column and divide it by the total count of results.
    My report is currently set up as follows:
    I've created a group by merchant. The third column shows the number the count of each results with total number of results for that specific merchant. All I want to do is create an expression/calculation where I can take the count of each result and divide it by the total results of for that merchant. How can i do this through the report or query. Thank you in advance.



    Click image for larger version. 

Name:	Report.PNG 
Views:	10 
Size:	8.5 KB 
ID:	34033
    Attached Thumbnails Attached Thumbnails Query.PNG  

  2. #2
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    If I'm understanding you correctly, one common way to do this requires 3 queries.
    1. Your query shown above
    2. Do another aggregate query to get the overall totals by merchant.
    It needs two fields - the 'merchant' field twice - group by & count

    3. Then join queries 1 & 2 by the 'merchant' field (is that Source?) & add your calculated expression field
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  3. #3
    chrisescarcega is offline Novice
    Windows 10 Access 2010 32bit
    Join Date
    May 2018
    Posts
    3
    Quote Originally Posted by ridders52 View Post
    If I'm understanding you correctly, one common way to do this requires 3 queries.
    1. Your query shown above
    2. Do another aggregate query to get the overall totals by merchant.
    It needs two fields - the 'merchant' field twice - group by & count

    3. Then join queries 1 & 2 by the 'merchant' field (is that Source?) & add your calculated expression field
    Hi,

    Yes the source is the Merchant. What calculated expression can I use?
    Thank you!

  4. #4
    chrisescarcega is offline Novice
    Windows 10 Access 2010 32bit
    Join Date
    May 2018
    Posts
    3
    Nevermind I was able to figure it out. Thank you!

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

Similar Threads

  1. Calculations on a report/query
    By nick243 in forum Reports
    Replies: 5
    Last Post: 06-14-2017, 01:03 PM
  2. Replies: 32
    Last Post: 03-01-2015, 12:01 PM
  3. Report Calculations incorrect.....why?
    By CBRRider1 in forum Reports
    Replies: 12
    Last Post: 03-08-2014, 12:15 AM
  4. Incorrect Calculations in Report
    By Bridiewms in forum Reports
    Replies: 6
    Last Post: 01-30-2012, 10:28 AM
  5. Creating a report with calculations
    By Normantom in forum Queries
    Replies: 1
    Last Post: 05-07-2010, 06:29 AM

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