Table.FillDown

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

从指定的 table 中返回一个表,其中前一个单元的值传播到指定的 columns 下值为 Null 的单元。

示例:

从表返回一个表,其中,列 [Place] 中的 null 值使用这些值上方的值填充。

使用情况:

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

输出:

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

results matching ""

    No results matching ""