Jump to content
We've recently updated our Privacy Statement, available here ×

Set Position Order after average (Get order from value)


Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

You could ORDER BY your Average Column already in your sql-query and use the ROW_NUMBER() or perhaps better the RANK() Function to number these results in a separate column e.g. "Position"

In your Report you can then use the built-in JasperOrdering (sort menue/button in iReport) by the field "$F{StudentName}" again, to alphabetical order by students name.

Not tried, but worth to give it a try.

hth + regards

C-Box

Link to comment
Share on other sites

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...