Duration.TotalMinutes

Updated on

Duration.TotalMinutes is a Power Query M function that calculates the total minutes spanned by a duration value. The function returns a decimal number representing the total minutes.

Compatible with: Power BI Service Power BI Desktop Excel Microsoft 365

Syntax

Duration.TotalMinutes( duration as nullable duration ) as nullable number

Description

Duration.TotalMinutes returns the total number of minutes (including fractional minutes) spanned by the duration duration.

Examples

Find the total minutes spanned by a duration value.

// Output: 7443.0333333333338
Duration.TotalMinutes( #duration( 5, 4, 3, 2 ) )

Other functions related to Duration.TotalMinutes are:

Contribute » | Contributors: Rick de Groot
Microsoft documentation: https://learn.microsoft.com/en-us/powerquery-m/duration-totalminutes