The following retrieve the top 3 records from a SharePoint list, using the following formulas:
- Gold: The highest score:
- First(SortByColumns('Quiz Scoreboard', "Score", Descending)).Nickname
- Silver: The second-highest score:
- Last(FirstN(SortByColumns('Quiz Scoreboard', "Score", Descending), 2)).Nickname
- Bronze: The third-highest score:
- Last(FirstN(SortByColumns('Quiz Scoreboard', "Score", Descending), 3)).Nickname
The formulas assume that a SharePoint list is named 'Quiz Scoreboard', and it contains columns for 'Nickname' and 'Score'. One can adjust the column names accordingly to match the actual list structure.
No comments:
Post a Comment