Jump to content
JasperReports Library 7.0 is now available ×

Percent problem


2004 IR Help

Recommended Posts

By: Matihost - matihost

Percent problem

2005-09-01 10:15

I have a field VALUE and a group DAY. I created a variable SUM_VALUE with a reset type Group DAY. In DAYHeader I put a field and variable expresion is $V{SUM_VALUE} with calculate time Group DAY.. and value is correct but i`d like to have in DAY`s group details section a percent value of VALUE field .... so i put a textfield in details section with expression new Double($F{VALUE}.doubleValue()/$V{SUM_VALUE}.doubleValue()) and evaluation time is Now.... Result is incorrect because variable SUM_VALUE contains unfornately previous fields sum. Please help...

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