Leaderboard sports app

Hello,

I made an sports app where you can fill in the scores by your self. There are already players in a table which have some points. but can i make a leaderboard so i can see if the player is first second third fourth ...... Twentieth. 

And can i then show this in player details.

Maby i can make a table with first -Twentieth and then a collumn that filters the player points. so the player with most points becomes first.

Solved Solved
0 3 228
1 ACCEPTED SOLUTION

Use the "sort by" option on a table view to sort by the points column.

View solution in original post

3 REPLIES 3

Use the "sort by" option on a table view to sort by the points column.

if i do that it wont say first .....Twentieth in de player description

Oh, that wasn't clear from your description.

You can find the index of each row key, within an ORDERBY()'d List, using one of the several "index of" strategies posted here (one example linked below)

https://www.googlecloudcommunity.com/gc/Tips-Tricks/How-to-find-the-Index-position-of-an-item-from-a...

Top Labels in this Space