dbTalk Databases Forums  

Member Properties - ORDINALS ??

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


Discuss Member Properties - ORDINALS ?? in the microsoft.public.sqlserver.olap forum.



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

Default Member Properties - ORDINALS ?? - 05-19-2006 , 08:18 PM






Hi

How can i retrieve a members natural index in the hierarchy now the member
property for ordinal is deptreciated?

If I can use the item(index) function to reteive a member surely I must be
able to retrieve the index from a member property??

I've got a feeling I'm missing something pretty obvious here

TIA



Reply With Quote
  #2  
Old   
Darren Gosbell
 
Posts: n/a

Default Re: Member Properties - ORDINALS ?? - 05-20-2006 , 06:35 AM






Have you had a look at the RANK() function?

from BOL: http://msdn2.microsoft.com/en-us/library/ms144726.aspx

Rank(Tuple_Expression, Set_Expression [ ,Numeric Expression ] )

Quote:
If Numeric_Expression is not specified, the Rank function returns the
one-based ordinal position of the specified tuple.

Quote:
If that does not help, try posting an example of why you need the
ordinal and someone might be able to come up with another alternative.

HTH

--
Regards
Darren Gosbell [MCSD]
Blog: http://www.geekswithblogs.net/darrengosbell

In article <ejKWZp6eGHA.1264 (AT) TK2MSFTNGP05 (DOT) phx.gbl>, gilly1409
@hotmail.com says...
Quote:
Hi

How can i retrieve a members natural index in the hierarchy now the member
property for ordinal is deptreciated?

If I can use the item(index) function to reteive a member surely I must be
able to retrieve the index from a member property??

I've got a feeling I'm missing something pretty obvious here

TIA




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.