Forum Discussion

prasadhebbar315's avatar
prasadhebbar315
Advocate I
3 years ago
Solved

Calculate Agent Utilization

Hello everyone,

 

I need your help in calculating agent utilization based on number of inbound & outbound calls, AHT(s), Avg Hold Time(s) and Avg Wrap Time (s). In the below table,

  • Total calls taken = Total Calls Accepted + Total Outbound
  • Calls per day = Total calls taken/# of days in a month by agent
  • Total Productive time = Calls per day*(AHT(s) + Avg Hold Time(s) + Avg Wrap Time(s))
  • Utilzation = Total Productive time/ (480*60)

The ask is to get utilzation for each agents by each month.

Sample output expected for Agent Name: AABIDIN for Month=2

  • Total calls taken = (22+16+13+18) + (2+3+7+9) = 90
  • Calls per day = 90/4 (4 days in month 2)=23
  • Total Productive time = 23*(average(582,948,801,684)+average(73,168,107,103)+average(101,243,189,183))=23524
  • Utilzation = 23524/ (480*60) = 81.7%

The below calculation should work for each agents by year and month

 

YearMonthAgent NameTotal Calls AcceptedAHT (s)Avg Hold Time (s)Avg Wrap Time (s)Total Outbound
20222AABIDIN22582731012
20222AABIDIN169481682433
20222AABIDIN138011071897
20222AABIDIN186841031839
20223AABIDIN149018226813
20223AABIDIN237111121804
20223AABIDIN19839992615
20223AABIDIN1694215824828
20231AADAMCIK23741032687
20231AADAMCIK296305051
20231AADAMCIK552409311
20231AADAMCIK  003
20232AADAMCIK74750829
20232AADAMCIK650201350
20232AADAMCIK23980411
  • Anonymous's avatar
    Anonymous
    3 years ago

    HI prasadhebbar315,

    You can check the following sample and measure formulas if they suitable for your requirement:

    Total calls taken = 
    CALCULATE (
        SUM ( 'Table'[Total Calls Accepted] ) + SUM ( 'Table'[Total Outbound] ),
        ALLSELECTED ( 'Table' ),
        VALUES ( 'Table'[Year] ),
        VALUES ( 'Table'[Month] ),
        VALUES ( 'Table'[Agent Name] )
    )
    
    Calls per day = 
    VAR dayCountPerAgent =
        CALCULATE (
            COUNT ( 'Table'[Agent Name] ),
            ALLSELECTED ( 'Table' ),
            VALUES ( 'Table'[Year] ),
            VALUES ( 'Table'[Month] ),
            VALUES ( 'Table'[Agent Name] )
        )
    RETURN
        [Total calls taken] / dayCountPerAgent
    
    Total Productive time = 
    [Calls per day]
        * CALCULATE (
            AVERAGE ( 'Table'[AHT (s)] ) + AVERAGE ( 'Table'[Avg Hold Time (s)] )
                + AVERAGE ( 'Table'[Avg Wrap Time (s)] ),
            ALLSELECTED ( 'Table' ),
            VALUES ( 'Table'[Year] ),
            VALUES ( 'Table'[Month] ),
            VALUES ( 'Table'[Agent Name] )
        )
    
    Utilzation = 
    VAR rate = 480 * 60
    RETURN
        [Total Productive time] / rate

    Regards,

    Xiaoxin Sheng

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    HI prasadhebbar315,

    You can check the following sample and measure formulas if they suitable for your requirement:

    Total calls taken = 
    CALCULATE (
        SUM ( 'Table'[Total Calls Accepted] ) + SUM ( 'Table'[Total Outbound] ),
        ALLSELECTED ( 'Table' ),
        VALUES ( 'Table'[Year] ),
        VALUES ( 'Table'[Month] ),
        VALUES ( 'Table'[Agent Name] )
    )
    
    Calls per day = 
    VAR dayCountPerAgent =
        CALCULATE (
            COUNT ( 'Table'[Agent Name] ),
            ALLSELECTED ( 'Table' ),
            VALUES ( 'Table'[Year] ),
            VALUES ( 'Table'[Month] ),
            VALUES ( 'Table'[Agent Name] )
        )
    RETURN
        [Total calls taken] / dayCountPerAgent
    
    Total Productive time = 
    [Calls per day]
        * CALCULATE (
            AVERAGE ( 'Table'[AHT (s)] ) + AVERAGE ( 'Table'[Avg Hold Time (s)] )
                + AVERAGE ( 'Table'[Avg Wrap Time (s)] ),
            ALLSELECTED ( 'Table' ),
            VALUES ( 'Table'[Year] ),
            VALUES ( 'Table'[Month] ),
            VALUES ( 'Table'[Agent Name] )
        )
    
    Utilzation = 
    VAR rate = 480 * 60
    RETURN
        [Total Productive time] / rate

    Regards,

    Xiaoxin Sheng

    • prasadhebbar315's avatar
      prasadhebbar315
      Advocate I

      Anonymous Thanks for providing the solution. It did work on my actual data.