Syntax
Table.RemoveLastN(table as table, optional countOrCondition as any) as table
Description
Returns a table that does not contain the last countOrCondition rows of the table table. The number of rows removed depends on the optional parameter countOrCondition.
Reference Data
https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference