# CONCATALL

The **CONCATALL** function joins multiple values from a list into a single text string, separated by the chosen delimiter. It is commonly used to combine dimension values, text inputs, or mixed data (numbers and text) into one formatted string. Any numeric values in the list are automatically converted to text before concatenation.

### Syntax

```javascript
CONCATALL(["string1","string2",...,"stringn"],"delimiter")
```

### Arguments

\["string1", "string2", ..., "stringn"] - A list of items that need to be joined. A list of strings. Any number in the list will also be concatenated into a string.

delimiter - String delimiter, such as "--", "   ", etc.

### Examples

```javascript
CONCATALL(["Product1","Product2"],"--")
//returns the concatenated string: Product1--Product2 
```

In the following example, we concatenated the values of a row dimension and a text input measure.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FkrKyiyMVX521MITvFj2Z%2Fimage.png?alt=media&#x26;token=a10bb4e3-e27e-4811-8b47-15a0df5c1d29" alt=""><figcaption><p>CONCATALL</p></figcaption></figure>
