dbTalk Databases Forums  

MDX query to to count the members in a dimension

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss MDX query to to count the members in a dimension in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Raj
 
Posts: n/a

Default MDX query to to count the members in a dimension - 03-15-2006 , 04:37 PM






hi All,

i am new to MDX query,,,, i want the count of all the leaf level
members in a dimension.

thanks
Raj


Reply With Quote
  #2  
Old   
Jéjé
 
Posts: n/a

Default Re: MDX query to to count the members in a dimension - 03-15-2006 , 04:42 PM






using AS2005:
count(leaves(dimension))

using AS2000:
count(dimension.[lowest level].members)


"Raj" <raj.atla (AT) wachovia (DOT) com> wrote

Quote:
hi All,

i am new to MDX query,,,, i want the count of all the leaf level
members in a dimension.

thanks
Raj




Reply With Quote
  #3  
Old   
Raj
 
Posts: n/a

Default Re: MDX query to to count the members in a dimension - 03-15-2006 , 05:08 PM



jeje...i am using Hyperion Essbase.


Reply With Quote
  #4  
Old   
Jéjé
 
Posts: n/a

Default Re: MDX query to to count the members in a dimension - 03-15-2006 , 05:59 PM



I think the syntax is the same.

get the MDX Solutions
the new edition cover both AS2005 & Hyperion syntaxes.

"Raj" <raj.atla (AT) wachovia (DOT) com> wrote

Quote:
jeje...i am using Hyperion Essbase.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.