Text.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 text value composed of the input text value repeated a number of times.

Text.Repeat(string as text, repeatCount as number) as text  

ArgumentDescription
stringThe text to repeat.
repeatCountThe number of times to repeat the text.
Text.Repeat("a",5) equals "aaaaa"  

Show: