Jump to content

summary values on group level.


mrzaxy

Recommended Posts

hello guys,

I'm using iRep 4.0.0 and I have a simple report with one group. I have values on group (VALUE column)  and I want to calculated field ( % column) on proup level but I need values from the summary (100) for this.

Like this:

NAME                    VALUE           %

Description1         25                 25

Description2         25                 25

Description3         50                 50

 

Total                     100

 

 

Is it possible to create?

 

help me!

thank you!

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

try this....

Assign variable TOTAL_VALUE with appropriate expression

Assign variable VALUE                  -""-       -""-                -""-                   Reset Type:  Group    (your GroupName).   

Drag  variable VALUE on  (your GroupName)   eval.Time : Group,  eval.Group : your GroupName

Create text field  on  (your GroupName)  with expression :

new Double(($V{VALUE}.doubleValue() / $V{TOTAL_VALUE}.doubleValue())*100)

eval.Time : Auto.

I hope it will works.

Link to comment
Share on other sites

  • 4 weeks later...
Thanks - you saved me LOTS of frustration since the standard documentation doesn't get into these very common types of calculated fields. (I am getting the difference between two summary values and modifying your syntax above worked immediately.)
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...