SilverStray
Programmer
Hi,
I am new to MDX and this is my problem:
I have a dimension and members in the following format:
-Period
-Calendar
+2005
-2006
-Jan 06
-Feb 06
-Mar 06
-Financial
+2005_2006
-Jan 06
-Feb 06
-Mar 06
+2006_2007
I wanted to get the ancestor of Jan 06 in the first level, which should be the 2006, under the Calendar dimension. How can I retrieve the 2006 ancestor under Calendar, when I have Jan 06 as children in both Calendar and Financial dimensions? How can I specify this in my query?
Thanks in advance for your help.
I am new to MDX and this is my problem:
I have a dimension and members in the following format:
-Period
-Calendar
+2005
-2006
-Jan 06
-Feb 06
-Mar 06
-Financial
+2005_2006
-Jan 06
-Feb 06
-Mar 06
+2006_2007
I wanted to get the ancestor of Jan 06 in the first level, which should be the 2006, under the Calendar dimension. How can I retrieve the 2006 ancestor under Calendar, when I have Jan 06 as children in both Calendar and Financial dimensions? How can I specify this in my query?
Thanks in advance for your help.