Text.Repeat Function in Power Query

The Text.Repeat function returns a text value composed of the input text value repeated a number of times.

Syntax

Text.Repeat(text as nullable text, count as number) as nullable text

Example: Repeat the text four times.

Power Query M

= Text.Repeat("Ashish Goel", 4)

The output will be shown in the following image.

Text.Repeat function in Power Query