Sintaxe
M
Table.FillDown(table as table, columns as list) as tableParâmetros
- tabletableObrigatório
Tabela de entrada.
MTable.FromRecords({...})- columnslistObrigatório
Colunas cujos nulos serão preenchidos com o valor de cima.
M{"Place"}
Retorna
tableExemplo
M
Table.FillDown(
Table.FromRecords({
[Place = 1, Name = "Bob"],
[Place = null, Name = "John"],
[Place = 2, Name = "Brad"],
[Place = 3, Name = "Mark"],
[Place = null, Name = "Tom"],
[Place = null, Name = "Adam"]
}),
{"Place"}
)Resultado
M
Table.FromRecords({
[Place = 1, Name = "Bob"],
[Place = 1, Name = "John"],
[Place = 2, Name = "Brad"],
[Place = 3, Name = "Mark"],
[Place = 3, Name = "Tom"],
[Place = 3, Name = "Adam"]
})Mais informações
- Subgrupo
- Table