Power Query
Search…
List.Repeat

List.Repeat

Returns a list that is count repetitions of the original list.
function (list as list, count as number) as list

Description

Returns a list that is count repetitions of the original list, list.

Category

List.Transformation functions

Examples

Create a list that has {1, 2} repeated 3 times.
1
List.Repeat({1, 2}, 3)
Copied!
{1, 2, 1, 2, 1, 2}