Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Stairway to MDX - Level 8: Member “Family” Functions: .LastChild and .FirstSibling Expand / Collapse
Author
Message
Posted Tuesday, August 9, 2011 8:57 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Sunday, August 17, 2014 12:45 PM
Points: 2, Visits: 64
Comments posted to this topic are about the item Stairway to MDX - Level 8: Member “Family” Functions: .LastChild and .FirstSibling
Post #1156944
Posted Tuesday, August 30, 2011 12:02 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Monday, June 24, 2013 10:27 AM
Points: 13, Visits: 201
I'm getting a strange result from the following. Any clues as to why?

{[Date].[Calendar].[Calendar Quarter].[Q1 CY 2007].firstsibling}
Returns itself, Q1 CY 2007 (ok I understand that)

{[Date].[Calendar].[Calendar Quarter].[Q2 CY 2007].firstsibling}
Returns Q1 CY 2007 (makes complete sense)

{[Date].[Calendar].[Calendar Quarter].[Q3 CY 2007].firstsibling}
Returns itself, Q3 CY 2007. A bit confused here. Is it because the parent for Q1 and Q2 are different than the parent for Q3 and Q4?

Jeff.
Post #1167745
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse