Skip to content

Commit dab0aef

Browse files
authored
Merge pull request #23612 from rwestMSFT/rw-0808-mdx-children
INCLUDE file maintenance: refresh MDX article
2 parents 1ca356c + bef581c commit dab0aef

2 files changed

Lines changed: 44 additions & 49 deletions

File tree

docs/includes/ssbol2005-r03-md.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/mdx/children-mdx.md

Lines changed: 44 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,54 @@
11
---
2-
description: "Children (MDX)"
3-
title: "Children (MDX) | Microsoft Docs"
4-
ms.date: 02/17/2022
2+
title: "Children (MDX)"
3+
description: "Returns the set of children of a specified member."
4+
author: minewiskan
5+
ms.author: owend
6+
ms.reviewer: owend, randolphwest
7+
ms.date: 08/08/2022
58
ms.prod: sql
69
ms.technology: analysis-services
7-
ms.custom: mdx
810
ms.topic: reference
9-
ms.author: owend
10-
ms.reviewer: owend
11-
author: minewiskan
11+
ms.custom: mdx
1212
---
1313
# Children (MDX)
1414

15+
Returns the set of children of a specified member.
16+
17+
## Syntax
1518

16-
Returns the set of children of a specified member.
17-
18-
## Syntax
19-
20-
```
21-
22-
Member_Expression.Children
23-
```
24-
25-
## Arguments
26-
*Member_Expression*
27-
A valid Multidimensional Expressions (MDX) expression that returns a member.
28-
29-
## Remarks
30-
The **Children** function returns a naturally ordered set that contains the children of a specified member. If the specified member has no children, this function returns an empty set.
31-
32-
## Example
33-
The following example returns the children of the United States member of the Geography hierarchy in the Geography dimension.
34-
35-
```
36-
SELECT [Geography].[Geography].[Country].&[United States].Children ON 0
37-
FROM [Adventure Works]
38-
```
39-
40-
The following example returns all members in the **Measures** dimension on the column axis, this includes all calculated members, and the set of all children of the `[Product].[Model Name]` attribute hierarchy on the row axis from the **Adventure Works** cube.
41-
4219
```
43-
SELECT
44-
Measures.AllMembers ON COLUMNS,
45-
[Product].[Model Name].Children ON ROWS
46-
FROM
20+
Member_Expression.Children
21+
```
22+
23+
## Arguments
24+
25+
#### *Member_Expression*
26+
27+
A valid Multidimensional Expressions (MDX) expression that returns a member.
28+
29+
## Remarks
30+
31+
The **Children** function returns a naturally ordered set that contains the children of a specified member. If the specified member has no children, this function returns an empty set.
32+
33+
## Example
34+
35+
The following example returns the children of the United States member of the Geography hierarchy in the Geography dimension.
36+
37+
```
38+
SELECT [Geography].[Geography].[Country].&[United States].Children ON 0
39+
FROM [Adventure Works];
40+
```
41+
42+
The following example returns all members in the **Measures** dimension on the column axis, this includes all calculated members, and the set of all children of the `[Product].[Model Name]` attribute hierarchy on the row axis from the **Adventure Works** cube.
43+
44+
```
45+
SELECT
46+
Measures.AllMembers ON COLUMNS,
47+
[Product].[Model Name].Children ON ROWS
48+
FROM
4749
[Adventure Works]
48-
49-
```
50-
51-
|Release|History|
52-
|-------------|-------------|
53-
|[!INCLUDE[ssBOL2005_R03](../includes/ssbol2005-r03-md.md)]|**Changed content:**<br /> - Updated syntax and arguments to improve clarity.<br /><br /> - Added updated examples.|
54-
55-
## See Also
56-
[MDX Function Reference &#40;MDX&#41;](../mdx/mdx-function-reference-mdx.md)
57-
58-
50+
```
51+
52+
## Next steps
53+
54+
- [MDX Function Reference &#40;MDX&#41;](../mdx/mdx-function-reference-mdx.md)

0 commit comments

Comments
 (0)