![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
-----Original Message----- Here's a foodmart example. This ranks any member of product within it's level. Note that RANK is really a position function -- it finds the position of a tuple within a set. In order to rank, the set must be ordered. WITH MEMBER [Measures].[Rank] AS ' Rank ( Product.CurrentMember , Order( {Product.CurrentMember.Parent.Children}} , [Profit], DESC) ) ' SELECT {[Profit] , [Rank]} ON COLUMNS, Order(Drink.Children, Measures.[Rank], ASC) ON ROWS FROM Sales tom @ the domain below www.tomchester.net "Kim" <seemann (AT) cescom (DOT) de> wrote in message news:077301c34c46$c2e82000$a501280a (AT) phx (DOT) gbl... How can i show the position number next to a ranked column (f.e. sales ranked for customers)? Sorry, I donīt know how to handle the 'Rank' Function in Analysis Services... Thx Kim . |
![]() |
| Thread Tools | |
| Display Modes | |
| |