Table.FillDown
Stulpelyje žemyn išplatinama ankstesnio langelio reikšmė į neapibrėžtų reikšmių langelius.
Syntax
Table.FillDown(
table as table,
columns as list
) as table
Remarks
Pateikiama lentelė iš nurodyto table, kur ankstesnio langelio reikšmė išplatinama į neapibrėžtus langelius po nurodytu columns.
Examples
Example #1
Pateikiama lentelė su neapibrėžtomis stulpelio [Place] reikšmėmis, užpildytą aukščiau esančia reikšme iš lentelės.
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"}
)
Result:
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"]
})
Category
Table.Transformation