Forum Discussion

cumoczar's avatar
cumoczar
Icon for Microsoft Employee rankMicrosoft Employee
7 years ago
Solved

Displaying time in a Table

I have a column that is a duration in a time format, yet when I add to a table it shows as a decimal.  For example, when looking in the query, the following value:  

0.03:23:02.4000000

 

Is displayed as:  3.38 ... I would like it displayed as 3:23 ... any help?  Thanks!

  • Hi cumoczar ,

     

    Duration represents a length of time. It’s converted into a Decimal Number Type when loaded into the model. It is as designed according to this document.

    If you only want to show duration of time in a Table report, I think the easiest way is to change the Data Type from “Duration” to “Text” as below. Then it will keep the type as "Text" and can be showed correctly.

     

2 Replies

  • v-eachen-msft's avatar
    v-eachen-msft
    Icon for Community Support rankCommunity Support

    Hi cumoczar ,

     

    Duration represents a length of time. It’s converted into a Decimal Number Type when loaded into the model. It is as designed according to this document.

    If you only want to show duration of time in a Table report, I think the easiest way is to change the Data Type from “Duration” to “Text” as below. Then it will keep the type as "Text" and can be showed correctly.