Is your leaderboard a repeater? If so, you can perhaps use the INDEX value of the repeater’s cell. I think it starts at 0 so you may need to +1 it. Then you just write the index value +1 to the field in the database and you have the position it is in.