Forum Discussion

jaus's avatar
jaus
Regular Visitor
4 years ago

Avg Tickets on Helpdesk System per year

Hi,

 

I'm building a report to show the average tickets per year logged on the IT helpdesk. The Helpdesk Dataset contains TicketID, Ticket Start Date. I joined this table with a custom Date Table with Fiscal Dates and the Fiscal month starting from July.


I created a new measure as below and when I create the visual, i get the avg ticket for FY 2022 as 340 as shown in the screenshot below. The result should be 311 i.e when i do the avg for the tickets FY 2022 in excel

 

Avg Tickets Per Year= AVERAGEX(VALUES('Date'[Fiscal Month Year]), CALCULATE(COUNTROWS(HelpdeskData)))

 

Count of Ticket #Fiscal YearFiscal Month
3F 2021Aug
20F 2021Sep
40F 2021Oct
579F 2021Nov
403F 2021Dec
332F 2021Jan
277F 2021Feb
261F 2021Mar
223F 2021Apr
256F 2021May
245F 2021Jun
316F 2022Jul
288F 2022Aug
351F 2022Sep
294F 2022Oct
461F 2022Nov
363F 2022Dec
256F 2022Jan
274F 2022Feb
356F 2022Mar
274F 2022Apr
188F 2022May

 

 

 

Not sure, what im missing and appreciate the help pls.

 

Thanks

 

4 Replies

  • jaus's avatar
    jaus
    Regular Visitor

    The dataset, has 5000+ tickets across two year. How can i count the tickets per month before calcualting the average. 

  • jaus's avatar
    jaus
    Regular Visitor

    I even tried the below but still get 340 for FY 2022

    Avg Tickets Per Year = AVERAGEX( VALUES('Date'[Fiscal Month Year]), CALCULATE(COUNTROWS(HelpdeskData)))
  • jaus's avatar
    jaus
    Regular Visitor

    Here is a sample data. There are 168 rows and the avg should be 84.5. I would like to show the avg number of tickets per month and per year

    Ticket #Entered Date
    42168012/05/2022 15:55
    42160212/05/2022 14:32
    42064011/05/2022 10:54
    41968610/05/2022 9:58
    41967010/05/2022 9:47
    4187299/05/2022 9:03
    4168825/05/2022 10:17
    4153153/05/2022 11:26
    41243328/04/2022 10:12
    41161427/04/2022 9:53
    41146027/04/2022 9:26
    41099626/04/2022 15:52
    41069726/04/2022 11:57
    41054626/04/2022 10:04
    41048326/04/2022 9:10
    40848021/04/2022 15:21
    40405813/04/2022 16:52
    40375713/04/2022 10:46
    40365413/04/2022 9:17
    40360213/04/2022 8:38
    40251911/04/2022 15:23
    40224311/04/2022 10:18
    40214211/04/2022 9:00
    4007437/04/2022 14:32
    4001496/04/2022 17:02
    3991855/04/2022 15:22
    3989595/04/2022 11:04
    39627831/03/2022 11:52
    39615831/03/2022 9:13
    39385528/03/2022 10:24
    38943121/03/2022 14:31
    38749717/03/2022 15:32
    38719517/03/2022 10:37
    38713717/03/2022 9:43
    38712417/03/2022 9:30
    38648916/03/2022 11:41
    38312310/03/2022 10:42
    3813067/03/2022 15:30
    37302721/02/2022 12:42
    36982315/02/2022 14:14
    36906514/02/2022 14:42
    36895014/02/2022 12:24
    36736310/02/2022 12:28
    36727010/02/2022 10:56
    3668809/02/2022 16:18
    3668179/02/2022 14:50
    3667789/02/2022 13:42
    3662378/02/2022 17:14
    3624392/02/2022 13:01
    3615881/02/2022 9:11
    36061229/01/2022 17:11
    36039428/01/2022 20:36
    35961227/01/2022 13:13
    35823724/01/2022 16:23
    35816024/01/2022 14:58
    35809124/01/2022 13:39
    35781524/01/2022 8:57
    35725521/01/2022 17:48
    35663020/01/2022 15:30
    35646320/01/2022 11:52
    35632120/01/2022 9:16
    35232613/01/2022 11:29
    35180512/01/2022 14:39
    35133312/01/2022 12:35
    35046911/01/2022 10:27
    34344322/12/2021 15:21
    34206620/12/2021 14:12
    34007316/12/2021 10:19
    33964715/12/2021 16:10
    33958015/12/2021 14:48
    33822113/12/2021 14:50
    3345447/12/2021 9:33
    3341286/12/2021 14:46
    3339736/12/2021 11:50
    3314711/12/2021 15:05
    32985329/11/2021 15:25
    32694823/11/2021 13:49
    32683023/11/2021 11:34
    32626222/11/2021 12:48
    32621222/11/2021 12:01
    32368817/11/2021 9:16
    32320116/11/2021 13:15
    32273215/11/2021 16:07
    32125011/11/2021 15:13
    3192858/11/2021 16:09
    3191848/11/2021 14:14
    3168393/11/2021 15:47
    3164583/11/2021 8:33
    31007421/10/2021 9:21
    30963320/10/2021 14:02
    30796818/10/2021 10:43
    30786018/10/2021 9:51
    30696815/10/2021 12:15
    30573413/10/2021 12:58
    3034108/10/2021 13:53
    3032698/10/2021 9:57
    3029737/10/2021 15:01
    2998881/10/2021 8:42
    29773827/09/2021 15:19
    29757027/09/2021 11:19
    29751327/09/2021 10:12
    29746027/09/2021 9:15
    29662823/09/2021 16:20
    29518521/09/2021 8:38
    29478720/09/2021 10:49
    29363516/09/2021 14:30
    29312515/09/2021 14:48
    2906899/09/2021 11:29
    2905789/09/2021 9:08
    28444826/08/2021 13:09
    28374425/08/2021 10:14
    28313824/08/2021 11:03
    28068818/08/2021 16:45
    27529411/08/2021 17:04
    2701675/08/2021 10:37
    2682922/08/2021 10:06
    2682052/08/2021 9:38
    26214020/07/2021 9:41
    26146219/07/2021 10:39
    25987014/07/2021 15:44
    25914313/07/2021 10:28
    25895612/07/2021 19:25
    25879512/07/2021 13:36
    25840511/07/2021 14:15
    2578649/07/2021 9:19
    2558285/07/2021 8:51
    2552712/07/2021 16:01
    2545721/07/2021 15:09
    2544861/07/2021 13:14
    2544621/07/2021 12:33
    24885023/06/2021 12:53
    24865323/06/2021 8:37
    24757021/06/2021 11:18
    24742421/06/2021 9:09
    24594417/06/2021 16:03
    24511016/06/2021 10:13
    24500316/06/2021 7:58
    24474415/06/2021 15:21
    24464815/06/2021 13:07
    24295511/06/2021 10:33
    24248110/06/2021 12:36
    2380602/06/2021 15:19
    2374921/06/2021 16:23
    23401326/05/2021 14:09
    23016120/05/2021 9:11
    22962119/05/2021 12:02
    22724314/05/2021 13:31
    22350110/05/2021 22:36
    21725329/04/2021 13:05
    2058537/04/2021 8:29
    2058227/04/2021 7:32
    20248631/03/2021 9:39
    19958225/03/2021 14:20
    19375215/03/2021 8:17
    1893233/03/2021 15:46
    1893043/03/2021 15:10
    1886082/03/2021 12:47
    18686525/02/2021 9:18
    18645624/02/2021 11:12
    18608423/02/2021 15:49
    18551622/02/2021 11:31
    1775071/02/2021 14:24
    1691278/01/2021 16:19
    1690668/01/2021 12:57
    16513830/12/2020 11:15
    1531682/12/2020 14:38
    1531272/12/2020 13:26
    1531152/12/2020 13:08