![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Now, what I need to do is get the number of descendants of any one of these nodes in the tree at only one level below. For example, 'aa' has 3 descendants, where as the root and 'A' has 2 each. I have to code this using MDX in an OLAP Cube. It seems that Descendants in MDX is always an absolute term, not relative to where you are in the tree. Any help would be much appreciated. |
#3
| |||
| |||
|
|
hichem.fadali (AT) td (DOT) com (Hichem) wrote in news:ede1900e.0411072012.6e9fcdc6 (AT) posting (DOT) google.com: Snip Now, what I need to do is get the number of descendants of any one of these nodes in the tree at only one level below. For example, 'aa' has 3 descendants, where as the root and 'A' has 2 each. I have to code this using MDX in an OLAP Cube. It seems that Descendants in MDX is always an absolute term, not relative to where you are in the tree. Any help would be much appreciated. Doesn't using the distance flag of 1 give you what you need, i.e. Count(Descendants([Your Dimension].[Your Member], 1)) ? HTH, Koan |
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |