---
url: /cube-functions/hascommonchildren.md
description: 'Only Executes Under: Cards'
---

# HASCOMMONCHILDREN

**Only Executes Under:** `Cards`

Returns 1 if any children exist in all specified parent elements.

```js
HASCOMMONCHILDREN(dimension, ...parent_element)
```

#### Parameters

* `dimension` - The name of the dimension.
* `parent_element` - The name of the parent elements to check for common children.

#### Examples

```js
HASCOMMONCHILDREN("Time", "Default»2025 - Q1" "Financial Year List»FY2025")
```

**Note:** Returns 1 if the because 2014 - Jul, Aug and Sep also exist in FY2025.
