List.RemoveFirstN

Syntax

List.RemoveFirstN(list as list, optional countOrCondition as any) as list

Description

Returns a list that removes the first element of list list. If list is an empty list an empty list is returned. This function takes an optional parameter, countOrCondition, to support removing multiple values as listed below.

Reference Data

https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference

Power Query M Functions / List Functions / List.RemoveFirstN