Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Problem with percentage calculation(Newbie with stupid question)
Problem with percentage calculation [message #1783157] Thu, 08 March 2018 15:30 Go to next message
Stuart Anderson is currently offline Stuart AndersonFriend
Messages: 3
Registered: March 2018
Junior Member
Hi All,

I am a newbie here so please be gentle with me ;-)

I have a report that groups by a complaint category. I have added an aggregation on the group to return the number of complaints in the category and also a total sum in the footer of the table. This all works ok.

I have attempted to add another aggregation of type PERCENTSUM using row["Agg1"] / row["Agg7"] * 100

Agg1 is the sum of my complaints grouped by category and Agg7 is the sum total of complaints, so the above logic would be 2 complaints in group / 1114 complaints * 100 should return 0.1795%.

The expression that I have used returns 100% for each group. I am highly likely to be doing something extremely simple wrong but at this stage I am tearing what little of my hair is left out.
Re: Problem with percentage calculation [message #1783194 is a reply to message #1783157] Fri, 09 March 2018 01:54 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3254
Registered: July 2009
Senior Member

Is this related to Eclipse somehow? I don't see a mention of the eclipse.org project to which this is related.

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Problem with percentage calculation [message #1783207 is a reply to message #1783194] Fri, 09 March 2018 08:33 Go to previous message
Stuart Anderson is currently offline Stuart AndersonFriend
Messages: 3
Registered: March 2018
Junior Member
Hi, sorry!!

I should have said that this issue relates to a report written in the Eclipse IDE for Java and Report Developers, Version: Neon.3 Release (4.6.3)

Previous Topic:Problem with percentage calculations
Next Topic:BIRT Runtime 4.6 under tomcat 7, unable to run test report
Goto Forum:
  


Current Time: Tue Sep 25 22:32:13 GMT 2018

Powered by FUDForum. Page generated in 0.01615 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top