Duration.ToRecord
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 a record with parts of a Duration value.
Duration.ToRecords(duration as duration) as record
| Argument | Description |
|---|---|
| duration | The Duration to parse. |
Duration.ToRecord(#duration(2, 5, 55, 20)) equals [Days=2, Hours=5, Minutes=55, Seconds=20]
Show: