Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6158815
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:01:29+00:00 2026-05-23T21:01:29+00:00

I need to calculate the average value for each month. Currently I have 2

  • 0

I need to calculate the average value for each month. Currently I have 2 columns “DATE” (date value e.g 01/01/2010) and AccOpen (number value). So for all dates within January I need to return the average value of all numbers contained in the corresponding AccOpen rows for January dates.

Is it possible to use the CALCULATED option and input a FORMULA that will return the average for all itmes within each months period (when adding a column to the list ?

DATE ACCOPEN AVERAGE
01/01/2010 2 2
02/01/2010 2
03/01/2010 2
04/01/2010 2
01/02/2010 2 2
02/02/2010 2
03/02/2010 2
04/02/2010 2

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T21:01:30+00:00Added an answer on May 23, 2026 at 9:01 pm

    You’re not going to be able to do this OOTB without writing event receiver code (or other custom code running in a batch mode).

    To get you started

    • MSDN – How to: Create an Event Handler Feature
    • Event Handlers : Everything you need to know…

    This will need to hook into the list item update and then consolidate your list into a separate summary list with the calculations you need.

    The brute force approach would be to run the calculation afresh for every item in the group when an item is inserted/updated.

    A smarter approach would be to just update the delta (the difference between the old and the new record) which is easier to do if you store components of the calculation – so in your case

    Month – NumRecords – TotalValue

    and work out the Average on the fly (as its easy to delta the NumRecords/TotalValue but impossible to apply it directly to the average)

    One 3rd party web part which may fit your need is PivotPoint – it allows you to do things like sum/count/avg over groups like Month & Year (disclaimer – I work for the company)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to calculate the number of FULL month in SQL, i.e. 2009-04-16 to
I need to calculate date (year, month, day) which is (for example) 18 working
I'm trying to write this query, that would calculate the average value of all
I have large matrix, 4000x4000 I need to calculate local average of 11x11 window
Need a running (moving, rolling) average algorithm to calculate the 5-minute average bits that
I need to calculate precision and recall value in lucene and I use this
How to calculate the average in linux? I have a file like this: ID
I need to calculate Count, Average and a couple other things of a column
I need to calculate averages, standard deviations, medians etc for a bunch of numerical
I need to calculate Math.exp() from java very frequently, is it possible to get

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.