dbTalk Databases Forums  

How do I get the value at a specific level in a hierarchy?

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


Discuss How do I get the value at a specific level in a hierarchy? in the microsoft.public.sqlserver.olap forum.



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

Default How do I get the value at a specific level in a hierarchy? - 07-17-2006 , 03:30 PM






How do I get the value at a specific level in a hierarchy?

I can get the name:
[hierarchy].[level name].CurrentMember.Name

I want to get the value for that level and have it cascade to any
descendents.


Reply With Quote
  #2  
Old   
kristl
 
Posts: n/a

Default Re: How do I get the value at a specific level in a hierarchy? - 07-18-2006 , 10:52 AM






Try the Descendants function - use that as your "set" and then use an
Aggregate function like Sum or Average.


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.