Jump to content
Changes to the Jaspersoft community edition download ×

Percentage calculations within groups

2004 IR Help

Recommended Posts

By: Ray - raymccarthy

Percentage calculations within groups

2005-10-15 03:36


I am new to JasperReports so excuse me if this is a stupid question. I want to print a report of the following nature

Colour Number Percentage of Group

Black 5 50%

Green 2 20%

Yellow 2 20%

Brown 1 10%


Group Count 10


The % value is calculated as item count/Group count. Basically, I need to write an expression where the evaluation time of the item count is now and the evaluation time of the group count is on group. I have not been able to figure out how to do this. Any help would be greatly appreciated.



Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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