Table of contents
TOC
Collapse the table of content
Expand the table of content

Table.FillDown

Owen Duncan|Last Updated: 4/19/2018

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"})

PlaceName
1Bob
1John
2Brad
3Mark
3Tom
3Adam
© 2018 Microsoft