Results 1 to 2 of 2
  1. #1
    Nashskye13 is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    12

    Formatting calculations on a report

    I created this database. The user is now asking me if I can add percentages to the reports. How many errors vs. records and also a percentage of each reason code. Can someone advise me as the best practice on handling this? I have been researching this but I believe I have only confused myself. I have attached the database. All of the records on the table are not real and for testing purposes only.
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    Which report - all of them?

    Suggest you use report Grouping & Sorting with aggregate calcs functionality. Group on the reason code. Calculate count in group footer. Calculated count in report footer. Expression in textbox ControlSource: =Count([Reason Code]). Divide group count by footer counter.

    Expression for Decision Error count in group footer: =Sum(IIf([Decision Error]=Yes,1,0))

    All of the reports have input parameter prompts. Personally, I NEVER use input prompts. I use reference to form controls as parameters.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Need some help in formatting my report
    By ammarbohra@gmail.com in forum Reports
    Replies: 3
    Last Post: 04-09-2012, 07:46 PM
  2. Incorrect Calculations in Report
    By Bridiewms in forum Reports
    Replies: 6
    Last Post: 01-30-2012, 10:28 AM
  3. formatting a report?
    By mejia.j88 in forum Reports
    Replies: 1
    Last Post: 01-13-2012, 03:20 PM
  4. formatting the report
    By simba in forum Reports
    Replies: 1
    Last Post: 08-12-2011, 12:36 PM
  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