Обучение
Модул
Author a basic formula that uses tables and records in a Power Apps canvas app - Training
Learn how to author a basic formula that uses tables and records in a Power Apps canvas app.
Този браузър вече не се поддържа.
Надстройте до Microsoft Edge, за да се възползвате от най-новите функции, актуализации на защитата и техническа поддръжка.
Table.Last(table as table, optional default as any) as any
Returns the last row of the table
or an optional default value, default
, if the table is empty.
Find the last row of the table.
Usage
Table.Last(
Table.FromRecords({
[CustomerID = 1, Name = "Bob", Phone = "123-4567"],
[CustomerID = 2, Name = "Jim", Phone = "987-6543"],
[CustomerID = 3, Name = "Paul", Phone = "543-7890"]
})
)
Output
[CustomerID = 3, Name = "Paul", Phone = "543-7890"]
Find the last row of the table ({})
or return [a = 0, b = 0] if empty.
Usage
Table.Last(Table.FromRecords({}), [a = 0, b = 0])
Output
[a = 0, b = 0]
Обучение
Модул
Author a basic formula that uses tables and records in a Power Apps canvas app - Training
Learn how to author a basic formula that uses tables and records in a Power Apps canvas app.
Документация
Learn more about: Table.FirstN
Table.SelectRows - PowerQuery M
Learn more about: Table.SelectRows
Learn more about: Table.First