Table.FillDown

Syntax

Table.FillDown(table as table, columns as list) as table

About

Returns a table from the table specified where the value of a previous cell is propagated to the null-valued cells below in the columns specified.

Example 1

Return a table with the null values in column [Place] filled with the value above them from the table.

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"})
Place Name
1 Bob
1 John
2 Brad
3 Mark
3 Tom
3 Adam