Excel pivot tabel average of count

Anonymous
2019-08-22T09:11:59+00:00

Hi all,

I have a report with many incidents with date and time in there. With a pivot table I found that I can count the incidents (input is incidentnumber) per day or per month, but I want the average amount of incidents per day, could you help me with this?

Because if I change the value of field settings to average it calculates the average of the incidentnumber (text), which is nothing and results in an error. 

Thank you!

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2019-08-22T12:43:52+00:00

    Hi djoekdjoek,

    I follow the steps inthis article and success to get the average per day in period of month.

     

    The point is add DAX measures:

    1. Total Insidents = SUM([insidents])
    2. Distinct Day Count = DISTINCTCOUNT([Date])
    3. Daily Average = [Total insidents]/[Distinct Day Count]

    You should modify the formula according to your column title.

    Disclaimer: Microsoft provides no assurances and/or warranties, implied or otherwise, and is not responsible for the information you receive from the third-party linked sites or any support related to technology.

    Regards,

    Eric

    0 comments No comments

12 additional answers

Sort by: Most helpful
  1. Anonymous
    2019-08-28T10:57:07+00:00

    Thank you, but i am searching how to get this data within the Pivot table

    0 comments No comments
  2. Ashish Mathur 101K Reputation points Volunteer Moderator
    2019-08-29T03:57:26+00:00

    Hi,

    There is data for only 1 day in that file.  Share data for multiple days in that file please.

    0 comments No comments
  3. Anonymous
    2019-08-29T08:32:00+00:00

    I am sorry, I thinks this is the right one: https://docdro.id/UZaG3y6

    0 comments No comments
  4. Ashish Mathur 101K Reputation points Volunteer Moderator
    2019-08-29T23:07:01+00:00

    Hi,

    You may download my solution workbook from here.

    Hope this helps.

    0 comments No comments