Table.ReverseRows

Table.ReverseRows(table as table) as table

从输入 table 返回一个表,其中的行遵循相反顺序。

示例:

使表中的行按相反顺序排列。

使用情况:

Table.ReverseRows(Table.FromRecords({[CustomerID = 1, Name = "Bob", Phone = "123-4567"], [CustomerID = 2, Name = "Jim", Phone = "987-6543"], [CustomerID = 3, Name = "Paul", Phone = "543-7890"], [CustomerID = 4, Name = "Ringo", Phone = "232-1550"]}))

输出:

Table.FromRecords({[CustomerID=4,Name="Ringo",Phone="232-1550"],[CustomerID=3,Name="Paul",Phone="543-7890"],[CustomerID=2,Name="Jim",Phone="987-6543"],[CustomerID=1,Name="Bob",Phone="123-4567"]})

results matching ""

    No results matching ""