Specific value to specific item

I want to have a table in which every item to have its own specific value,then when a user picks those items the total values relate to those items should not exceds a certain value…good example is in fantasy league where a users choose total of eleven players(items) as longer the total of their market values which is given to every player doesnot exceed 100

All sounds quite doable. Have you tried? Where did you get stuck?

Im new to glide im not sure which relation to use,can you guide me please

It might be worth spending some time looking at these resources.