CUBERANKEDMEMBER Function
Return the member at a given rank in a set of an OLAP cube. Use it to show, for example, the top seller or the top 10 products. connection is the name of the connection to the cube, set_expression the set, rank the position of the member, 1 for the first, and caption an optional text shown in the cell. The function requires host-provided data or an Excel-specific object: TX Sheet Control has no built-in cube connection, so the application supplies the data through a formula provider. Without a provider, the function returns #N/A.
Syntax
CUBERANKEDMEMBER(connection, set_expression, rank, caption)
Category: Cube. Minimum arguments: 3. Maximum arguments: 4.
Important
Application Data or Provider Required. Configure the documented provider rather than expecting automatic network or Excel-service access.
Examples
=CUBERANKEDMEMBER("connection","[Set]",1)
Without a formula provider, the formula returns #N/A.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.