cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Microsoft
Microsoft

Create a leaderboard from a sharepoint list with numbers running alongside

Hi PowerApp's community,

 

I am building a PowerApp where employees can earn points for submitting the number of presentations they have done.

As part of this I have a live updated leaderboard to show who has the most points.

The data comes from a SharePoint list and I am currently using this "Sort(GroupBy(Points, "Name", "ItemsByName"),CountRows(ItemsByName),SortOrder.Descending)" which works fine, however I would like to have ranking numbers by each name so when the list grows longer people can see what rank they are.

 

Does anyone have any thoughts on how I could do this? 

 

Any help would be much appreciated! 😄

5 REPLIES 5
Highlighted
Super User
Super User

Re: Create a leaderboard from a sharepoint list with numbers running alongside

Is the Marks (column which holds record of points) already existing in the Sharepoint list?

SortByColumns(AddColumns(
GroupBy(
Points,
"Name",
"MyGrpCol"
),
"CountAllRows",
CountRows(MyGrpCol),
"SumMarks",
Sum(MyGrpCol, Marks)),"SumMarks")
 
If you like this reply, please give kudos. And if this solves your problem,
please accept this reply as the solution
Highlighted
Microsoft
Microsoft

Re: Create a leaderboard from a sharepoint list with numbers running alongside

Hi,

 

Thanks for your suggestion. Unfortunately I don't have a column with marks, the points are calculated by counting the number of values created by one person. I am looking to have 1st, 2nd, 3rd etc running alongside my leaderboard 🙂

 

Sean

Highlighted
Frequent Visitor

Re: Create a leaderboard from a sharepoint list with numbers running alongside

Hi @SeanPhelps ,

 

I'm also looking for a similar solution, have you found any help so far?

Highlighted
Frequent Visitor

Re: Create a leaderboard from a sharepoint list with numbers running alongside

Hi @SeanPhelps ,

 

I found the solution.. hope this would help you..

https://www.youtube.com/watch?v=q42ibovAqZc

 

 

Highlighted
Microsoft
Microsoft

Re: Create a leaderboard from a sharepoint list with numbers running alongside

Hi @ArvindaSudan ,

 

Good shout on the video, it's one I've watched before and helped me to get to my current situation, it doesn't however allow for (1st, 2nd, 3rd) to run along the side.


Any other thoughts would be much appreciated! 😄

 

Thanks,

Sean

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (4,396)