![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
You might try: [SalesPerson].CurrentMember.Children( "[Child Level Name]." + [SalesPerson].CurrentMember.Name) HTH, -- Brian www.geocities.com/brianaltmann/olap.html "James Taylor" wrote: Please put me out of my misery. I need to get hold of the child of the current member that has the same name as the current member and I'm struggling. Why is it that this works: [SalesPerson].CurrentMember.Children("Central")) but not this: [SalesPerson].CurrentMember.Children(MemberToStr([SalesPerson].CurrentMember )) or this: [SalesPerson].CurrentMember.Children(([SalesPerson].CurrentMember.Name)) I promise you that there is a member with the name "Central" in both levels! Thanks in advance |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
What about Filter([Sales Person].CurrentMember.Children, [SalesPerson].CurrentMember.Name = [SalesPerson].CurrentMember.Parent.Name) HTH, Coen |
#5
| |||
| |||
|
|
Thanks but this is not quite what I want. This is testing the current member name against the parent member name, whereas I want to compare the current member name against all the children. And not being able to loop through each of the children I am well and truly stuck. |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
Please put me out of my misery. I need to get hold of the child of the current member that has the same name as the current member and I'm struggling. Why is it that this works: [SalesPerson].CurrentMember.Children("Central")) but not this: [SalesPerson].CurrentMember.Children(MemberToStr([SalesPerson].CurrentMember )) or this: [SalesPerson].CurrentMember.Children(([SalesPerson].CurrentMember.Name)) I promise you that there is a member with the name "Central" in both levels! Thanks in advance |
![]() |
| Thread Tools | |
| Display Modes | |
| |