Simple ? MDX query with properties
Hi everyone, I want to do a query that give me my ProjectLead names, and also the full dimension name and the measure associate with it. example : Xldaoul | [ProjectLeadDim].[All].[Xldaoul] | 200 Luoadlx | [ProjectLeadDim].[All].[Luoadlx] | 12 Can you help me ?Ludovic Bouaziz - MCSD .net
December 23rd, 2010 11:41am

Hi, MDX function Member_Caption can retieve the names, and UniqueName to retrieve the full dimension name. The following is an example against AdventureWorks cube: with member Measures.fullname as [Product].[Product Categories].currentmember.uniquename member measures.capname as [Product].[Product Categories].currentmember.member_caption select {measures.capname,Measures.fullname,[Measures].[Internet Sales Amount]} on 0, [Product].[Product Categories].[Product].members on 1 from [Adventure Works] thanks, Jerry
Free Windows Admin Tool Kit Click here and download it now
December 26th, 2010 10:46pm

Thanks Jerry, I was looking for Currentmember function :) but uniquename and member_caption are very useful tought ! Now i bought the mdx step by step book and it's very useful. :) Ludovic Bouaziz - MCSD .net
December 29th, 2010 1:43pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics