---
title: "COALESCE"
url: "https://help.formsfly.com/en/article/coalesce"
language: "en"
last_updated: "2023-10-23T11:29:46.407Z"
---

# COALESCE

First non-empty value

* * *

### Syntax

`COALESCE(a, b)`

### Example

```plaintext
coalesce({{name}}, {{companyname}})
```

### Notes

In the example:  If name has a value, return name, else return companyname
