Duration.Minutes Function of Power Query
The Duration.Minutes function in Power Query returns the minutes portion of a duration.
Syntax
Duration.Minutes(duration as nullable duration) as nullable number
• duration: The input, which must be a duration type (e.g., created with #duration(days, hours, minutes, seconds)).
Returns: It returns the integer number of minutes from the duration.
Example: Extract the minutes from a duration value.
Power Query M
let extract_min = Duration.Minutes(#duration(5, 4, 3, 2)) in extract_min
The output of the above code is 3.