Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SSAS TopCount Function

Status
Not open for further replies.

pjohns

Programmer
Mar 21, 2007
25
Is there any way to return the actual ranking indicator (e.g. '1' for the highest ranking, '2' for the next highest ranking, etc.) along with the ranked values themselves using the TopCount fucntion or any other SSAS function? We're trying to report the ranked values along with their actual rankings using SSRS.

Thanks.

...Phillip
 
Yes there is a way to return the Rank Value. You neede to use the Rank() function
Code:
Rank(Tuple_Expression, Set_Expression [ ,Numeric Expression ] )

Paul
---------------------------------------
Shoot Me! Shoot Me NOW!!!
- Daffy Duck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top