Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Trying to create a "ranking"


This topic is 7332 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello,

I am trying to build a simple application that assigns points to people according to certain activities and at the end it adds the points for each one of them and ranks them from highest to lowest. So far I have not been to do that last part.

I have tried many things, playing with portals, scripts with no luck. The problem is in the Reports Layout, I deleted all my trials/tests, to have a cleaner view.

Any help would be very appreciated

Pablo

Points.zip

Posted

grin.gif Thank you but perhaps I did not explain correctly. Please take a look at the attached file. the reports layout shows the sorted records with the total score for each person. But the names are repeated.

Could you please help me on this issue? confused.gif

Thank you

Pablo

Points.zip

Posted

Put your sum calculation in your Officers file and then use a portal to display them, sorted by the sum.

See attached.

score.zip

Posted

Lets say you have a file People with the fields ID (an autoentered serail number) First Name, Last name, etc. Then you have a field Scores with the fields ID from the people file, Date and Score. In People you can have a portal to Scores which will show the date & scores for the person of that record. You can calculate the total score for that person using Total = Sum(Scores::Score). You can sort the records in People by the Total. This may not be very fast since the calculation is unstored.

Display this in list view to see the people and their scores.

  • 3 weeks later...
Posted

Hello,

I had to add an extra thing that pretty much "damaged" the portal for some reason. Basically I added a radio button that depending on the outcome (yes,no) will assign points to the person.

I don't know why the portal is not sorting the records in descending order. I compared everything with the file you previously sent me but still it does not work.

I truly appreciate your help

Cordially

Pablo

Points.zip

Posted

From a quick glance, it looks like you're using the wrong relationship for SumScore. It shouldn't be based on a constant. Use the FF relationship instead.

Posted

Did you change SumScore in the Officers file to be Sum(Evaluation of MeetingsFF::Sum Score)? This is what I was referring to. It calculates correctly when you use the correct relationship.

This topic is 7332 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.