Forum Discussion

michael_knight's avatar
michael_knight
Icon for Post Prodigy rankPost Prodigy
5 years ago
Solved

Convert Seconds to DD:HH:MM:SS

Hi,   I'm trying to convert Seconds to DD:HH:MM:SS. I used this article to get close, however this doesn't work with both date slicers (Look at the average for the month, for example) New Time = ...
  • lbendlin's avatar
    5 years ago

    You can use measures to coax the data into this (admittedly weird) format.

     

    d = FORMAT(int(sum('Duration'[Duration])),"0") & FORMAT(sum('Duration'[Duration]),":HH:NN")
     
    Are you sure you want to do that?
     

    but no, you can't have both.