Results 1 to 2 of 2
  1. #1
    NoSpatula is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Jan 2018
    Posts
    5

    Running Average

    I need to produce a running average. Basically a 30/60/90 day average of scores for participants. Not sure how to do this.



    Each month contains a snapshot of the quality score (which is derived using an expression) for an individual. 'tenuremonth' is the month captured. How would tally the average for the first 2 months? 3 months?

    I'm not an experienced SQL'er (more of a SOL'er) =). I'm hoping it can be done through the query grid. Expressions even.

    Click image for larger version. 

Name:	qry.png 
Views:	7 
Size:	25.6 KB 
ID:	32249Click image for larger version. 

Name:	qry.png 
Views:	7 
Size:	12.9 KB 
ID:	32251



    Thanks!
    Attached Thumbnails Attached Thumbnails expression.png  

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    make 3 queries, 1 for each N-day range and compute the AVG
    then in Q4, add in all 3 avg qrys to the data query.

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

Similar Threads

  1. Average on a Group Average
    By Lykins in forum Reports
    Replies: 2
    Last Post: 04-24-2017, 01:28 PM
  2. Replies: 6
    Last Post: 09-14-2015, 06:05 PM
  3. Replies: 6
    Last Post: 06-05-2015, 03:08 AM
  4. Replies: 2
    Last Post: 04-29-2014, 03:04 AM
  5. Replies: 13
    Last Post: 05-28-2010, 11:57 AM

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