# \[Solved\] Scoreboard using Firebase data

**URL:** <https://community.thunkable.com/t/solved-scoreboard-using-firebase-data/1973931>\
**Category:** Questions about Thunkable X\
**Tags:** firebase, solved\
**Created:** [July 25, 2022, 2:21am UTC](https://community.thunkable.com/t/solved-scoreboard-using-firebase-data/1973931 "2022-07-25T02:21:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![funmathforkids](https://avatars.discourse-cdn.com/v4/letter/f/b9e5f3/32.png) [@funmathforkids](https://community.thunkable.com/u/funmathforkids)\
**Post date:** [July 25, 2022, 2:21am UTC](https://community.thunkable.com/t/solved-scoreboard-using-firebase-data/1973931/1 "2022-07-25T02:21:05Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/b/9ba6e29928b6b503776fea4e2525bce02eacd1ec.png)

Hi Team!

I am using FireBase to store personal information about my students (to identify them) and within their profiles I store their grades. “Medallas ganadas” (medals earned) is the data I care about to create a leaderboard.

I want to take that data from each profile and create a screen with a table so that all my students can see the 5 students with the most medals won but I have no idea how to start.

I would be very grateful if you could give me some advice or guidance.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [July 25, 2022, 3:20am UTC](https://community.thunkable.com/t/solved-scoreboard-using-firebase-data/1973931/2 "2022-07-25T03:20:58Z")

</div>

What is the full path to “Medallas ganadas”?

???/ReporteEscolar/Medallas ganadas

---

<div class="post-metadata">

**Author:** ![funmathforkids](https://avatars.discourse-cdn.com/v4/letter/f/b9e5f3/32.png) [@funmathforkids](https://community.thunkable.com/u/funmathforkids)\
**Post date:** [July 25, 2022, 4:35am UTC](https://community.thunkable.com/t/solved-scoreboard-using-firebase-data/1973931/3 "2022-07-25T04:35:59Z")

</div>

Correct! I can figure out how to create the actual scoreboard with the given data but I have no idea how to “scan” or check eeeevery single user on FireBase to get the data I need to create the leader board.  
My idea is this: Create a screen LEADERBOARD and, when the screen opens the algorithm checks the most updated data on firebase and shows the scores on the table/column

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [July 25, 2022, 6:11am UTC](https://community.thunkable.com/t/solved-scoreboard-using-firebase-data/1973931/4 "2022-07-25T06:11:35Z")

</div>

I’m not sure you understood my question. I would need to see what the rest of your Firebase structure looks like. What replaces the ??? below…?

**???** /ReporteEscolar/Medallas ganadas

---

<div class="post-metadata">

**Author:** ![ioannisroungeris](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannisroungeris/32/109459_2.png) [@ioannisroungeris](https://community.thunkable.com/u/ioannisroungeris)\
**Post date:** [July 25, 2022, 11:59am UTC](https://community.thunkable.com/t/solved-scoreboard-using-firebase-data/1973931/5 "2022-07-25T11:59:31Z")

</div>

Hello,

I implemented a scoreboard in my app. [One Tap Calculator - #7 by John\_Rouger](https://community.thunkable.com/t/one-tap-calculator/1370427/7)

I also used Firebase to store user data but I find out that was a lot easier to create a table using airtable and store the name and the score of each user on that table.

So each time you create a new user you need to create a new row also on airtable.

And when a user increases his score you need to update the score on the airtable.

And to identify which user is, you need to store rowid of the airtable into each user personal information on firebase.

Using airtable you will benefit from these:

- Each table on airtable includes an integrated scoring function. So scoring works automaticly.

- Works better with data view list. You can select airtable as a Data Source on the data viewer list component and has a block to auto-refresh data.

- You can create extensions.

- Free plan on airtable has a limit of 1,200 records per base.

If you don’t want to use airtable, you will need to create manually all of the above, using blocks.

In any case, I hope that I help you.

---

<div class="post-metadata">

**Author:** ![funmathforkids](https://avatars.discourse-cdn.com/v4/letter/f/b9e5f3/32.png) [@funmathforkids](https://community.thunkable.com/u/funmathforkids)\
**Post date:** [July 25, 2022, 3:07pm UTC](https://community.thunkable.com/t/solved-scoreboard-using-firebase-data/1973931/6 "2022-07-25T15:07:52Z")

</div>

Woooow! This is an amazing solution! Thank you very much for being so helpful! I will let you know once I have implemented this on my app. Thanks again @John_Rouger

---

<div class="post-metadata">

**Author:** ![funmathforkids](https://avatars.discourse-cdn.com/v4/letter/f/b9e5f3/32.png) [@funmathforkids](https://community.thunkable.com/u/funmathforkids)\
**Post date:** [July 25, 2022, 9:59pm UTC](https://community.thunkable.com/t/solved-scoreboard-using-firebase-data/1973931/7 "2022-07-25T21:59:38Z")

</div>

Hi, @tatiang I did not want to ignore you, I was at work earlier and did not have enough time to reply to both of you. The path should be users/current user/ReporteEscolar/MedallasGanadas.  
Working with airtable seems like a good solution but I would love to read your opinion or possible solution using the ‘get’ blocks from the FireBase component

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [October 23, 2022, 10:00pm UTC](https://community.thunkable.com/t/solved-scoreboard-using-firebase-data/1973931/8 "2022-10-23T22:00:24Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
