Ranks the records of a sales data series, optionally restricted to a date range, to find the highest or lowest results. A ranking is attributed either to an individual, as a profile, or to the organisation they belong to (eg a store or other business unit), depending on the series' sales type. Instances are created per date range by DataSeriesFolder and queried on demand to build a leaderboard view.


Methods

highestResults(int num)

Returns: List<LeaderboardRanking>

Finds the highest-ranked records in this leaderboard's date range, up to the given number of results. Records are not aggregated by date.

ParameterDescription
numthe maximum number of rankings to return

lowestResults(int num)

Returns: List<LeaderboardRanking>

Finds the lowest-ranked records in this leaderboard's date range, up to the given number of results, ordered lowest value first. Records are not aggregated by date.

ParameterDescription
numthe maximum number of rankings to return
To get full access to the Kademi Hub existing customers can login here, or new customers can register here.