Table.Repeat
This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.
Returns a table containing the rows of the table repeated the count number of times.
Table.Repeat(table as table, count as number) as table
| Argument | Description |
|---|---|
| table | The Table to check. |
| count | The number of times to repeat the table. |
Table.Repeat(Table.FromRecords({[Column1=1], [Column1=2]}), 2)
| Column1 |
|---|
| 1 |
| 2 |
| 1 |
| 2 |
Show: