DeepSee MDX Reference
[Home] [Back] [Next]
InterSystems: The power behind what matters   

Returns the first sibling of the given member.
Returned Type
This function returns a member.
Syntax and Details
This function examines all the children of the parent of the given member, and returns the first member of that set (considering the default order of that set).
This function can return the same member that you specify as an argument (if that member is the first sibling).
For example:
SELECT MEASURES.[%COUNT] ON 0, birthd.[Mar 2003].FIRSTSIBLING ON 1 FROM patients
                             Patient Count
Jan-2003                                10
See Also

Send us comments on this page
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA