Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to make calculated member for Children names starting with 'Ab'

Status
Not open for further replies.

ericblair

Programmer
Feb 28, 2008
1
US
Hi,

I'm kinda new to MDX and wondering if i could get some help on writing a query that will give me the names of 'children'
that begin with "ab"

I've got this so far:
with [Customer].[Customers].[A-Z].[AB] as 'IIF({[Customer].[Customers].[A-Z].&[A].children})'

But not sure where to say children that start with 'Ab'

Thanks for any advice.
 
You are going to Have to utilize the MembertoStr function to then invoke the VBA SubString function.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top