Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Question with duration type

Hi all I have an excel file with several agents call center calls, and one of the columns is the duration of the calls. I have changed the type from text to duration, but when I use the score card visual, i only see 0.00 , it does not give me the minutes that is what i want. Is there any way to show all decimals ? as the duration is always on minutes, so i have 0.00.04.27 and things like that . Thanks! César

  • Hi Anonymous ,

     

    You need to create a new column using your "duration" column as per the calculation suggested by amitchandak 

     

    Thanks,

    Pragati

  • Anonymous 

    If it text/varchar

    new column in Minute =left([Duration],2)*60 + mid([Duration],4,2) +right([Duration],2)/60

     

    If it is time /timestamp

    new column in Minute =hour([Duration])*60 + minute([Duration]) +second([Duration])/60

7 Replies

  • Anonymous , try like in Minute

    new column in Minute =left([Duration],1)*24*60 + mid([Duration],3,2)*60 + mid([Duration],6,2)*1+right([Duration],2)/60

    • Anonymous's avatar
      Anonymous
      Not applicable

      amitchandak is this a measure? i think I am a bit lost about what i have to do

       

      Thanks 

      • Pragati11's avatar
        Pragati11
        Super User

        Hi Anonymous ,

         

        You need to create a new column using your "duration" column as per the calculation suggested by amitchandak 

         

        Thanks,

        Pragati