Duration.Minutes

Updated on

Duration.Minutes is a Power Query M function that extracts the minutes portion of a duration value. The function returns an integer representing the number of minutes.

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

Syntax

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

Description

Duration.Minutes returns the minutes portion (0-59) of the specified duration duration.

Examples

Extract the minutes from a duration value.

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

Other functions related to Duration.Minutes are:

BI Gorilla Blog

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