Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

DAX function HH:MM:SS to Decimal Format

Hi all!

 

I have this the folllowing time format in DAX (I do not have access to this column in Power BI Editor Query as I buit it in DAX).

 

I need a DAX function to add a column with this time in decimal format so I can use in a chart. I do not need AM and PM info as I have it in other column.

 

Much appreciated if you can assist.

 

2 Replies

    • vissvess's avatar
      vissvess
      Helper V

      The input was useful.

       

      The solution worked. But the generated column is in the format of text and not able to convert it to decimal number. 

      I need to aggregate(Sum/average) which is not possible with text format.

       

      Anyone please help me with this.

       

      Thanks