# Repeat

The **Repeat** function returns the results of repeating a string a specified number of times.

### Syntax

```
Repeat(string, number)
```

Repeat has the following arguments:

<table><thead><tr><th width="258"></th><th></th></tr></thead><tbody><tr><td>string</td><td><p>Required</p><p>The string that the function repeats number</p></td></tr><tr><td>number</td><td><p><br>Required</p><p>The number of times the string repeats. The zero, <code>0</code>, and negative values both return a <code>NULL</code> string.</p></td></tr></tbody></table>

### Examples

```
Repeat([Product Type],0)
```

The **Repeat** function returns the following values for the **Product Type** column:

<figure><img src="https://sigma-docs-screenshots.s3.us-west-2.amazonaws.com/img/function-repeat-example.png" alt=""><figcaption></figcaption></figure>
