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
| Parameter | Type | Description |
|---|---|---|
list | list | The list. |
Returns
list. The same items, last first.
Examples
Newest month first
List.Reverse({"Jan", "Feb", "Mar"})
{"Mar", "Feb", "Jan"}