Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 860 Bytes

File metadata and controls

39 lines (28 loc) · 860 Bytes
title FirstSibling (MDX) | Microsoft Docs
ms.date 06/04/2018
ms.prod sql
ms.technology analysis-services
ms.custom mdx
ms.topic reference
ms.author owend
ms.reviewer owend
author minewiskan

FirstSibling (MDX)

Returns the first child of the parent of a member.

Syntax

  
Member_Expression.FirstSibling   

Arguments

Member_Expression
A valid Multidimensional Expressions (MDX) expression that returns a member.

Example

The following query returns the first sibling of fiscal year 2003 in the Fiscal hierarchy, which is Fiscal Year 2002.

SELECT [Date].[Fiscal].[Fiscal Year].&[2003].FirstSibling ON 0  
FROM [Adventure Works]  

See Also

MDX Function Reference (MDX)