Duration.ToText

MDuração

Retorna uma representação textual de duration no formato "day.hour:mins:sec".

Sintaxe

M
Duration.ToText(duration as nullable duration, optional format as nullable text) as nullable text

Parâmetros

durationnullable durationObrigatório

Valor duration a ser convertido em texto.

M
#duration(2, 5, 55, 20)
formatnullable textOpcional

Preterido; gera erro se não for null.

Retorna

nullable text

Exemplo

M
Duration.ToText(#duration(2, 5, 55, 20))

Resultado

M
"2.05:55:20"

Mais informações

Subgrupo
Duration

Aprender Power Query ao vivo