Forum Discussion

Rebender's avatar
Rebender
Frequent Visitor
7 years ago
Solved

How to sort a Time Duration

I have created a calculated column that gives me a Time Duration in Days, Hours, Minutes, Seconds.  What I would like to do now is be able to sort the column in my table visual, but it is not putting...
  • Rebender's avatar
    Rebender
    7 years ago

    I solved my problem by fixing the formatting of the Value.  I added a second "0" to the day portion of the following code and it worked.

    FORMAT(dayNo,"#00")&" day "&FORMAT(hourNo,"#00")&":"&FORMAT(minuteNO,"#00")&":"&FORMAT(secondNo,"#00")