Duration.TotalSeconds
This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.
Returns the total magnitude of seconds from a duration value.
Duration.TotalSeconds(duration as nullable duration) as nullable number
| Argument | Description |
|---|---|
| duration | The Duration to parse. |
let duration = #duration(2,22,120,20) in [ totaldays= Duration.TotalDays(duration) equals 3.0002 totalhours= Duration.TotalHours(duration) equals 72.005 totalminutes= Duration.TotalMinutes(duration) equals 4320.33 totalseconds=Duration.TotalSeconds(duration) equals 259220 ]
Show: