Home      Functions     Common Solutions      Contact     

MDX Functions:
MDX Functions

Common Solutions

Common Solutions
Resource Links

MDX Books
MDX Related Software
MDX Related Blogs
Other Links

Contact Us

Get the last child for a parent member.

You can use the LastChild function to return the last member for a supplied parent member.

The query below returns the last child for the member July 2003 in the Fiscal hierarchy in the Date dimension.

SELECT {[Date].[Fiscal].[July 2003].LastChild} ON 0
FROM [Adventure Works]


Copyright 2008 by MDXpert.com.
Terms of Use                              Privacy Statement
Site Powered By - WinHost.Com