OpenBI Docs Buy

List.Reverse

A list in the opposite order.

Group: List. Power Query M has it too: a query that uses it is written as in Power BI.

Syntax

List.Reverse(list as list) as list
ParameterTypeDescription
listlistThe list.

Returns

list. The same items, last first.

Examples

Newest month first

List.Reverse({"Jan", "Feb", "Mar"})
{"Mar", "Feb", "Jan"}

List.Sort, Table.ReverseRows.

Last updated · OpenBI Studio 0.3.79