Syntax
Table.Last(table as table, optional default as any) as any
Description
Returns the last row of the table or an optional default value, default, if the table is empty.
Reference Data
https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference