Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 832 Bytes

File metadata and controls

40 lines (29 loc) · 832 Bytes
title LastSibling (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

LastSibling (MDX)

Returns the last child of the parent of a specified member.

Syntax

  
Member_Expression.LastSibling   

Arguments

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

Example

The following example returns the default measure for the last day in July 2002.

SELECT [Date].[Fiscal].[Date].&[20020717].LastSibling   
   ON 0  
FROM [Adventure Works]  

See Also

MDX Function Reference (MDX)