Skip to main content



      Home
Home » Archived » BIRT » Problem with percentage calculations(Percentage calcs)
Problem with percentage calculations [message #1783160] Thu, 08 March 2018 10:40
Eclipse UserFriend
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.
Previous Topic:Date Default Format
Next Topic:BIRT Runtime 4.6 under tomcat 7, unable to run test report
Goto Forum:
  


Current Time: Wed Aug 27 04:39:36 EDT 2025

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

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

Back to the top