Adding Calculations in SQL Forces the Result to be Integer Rather than Double
(Doc ID 2117442.1)
Last updated on JULY 26, 2017
Applies to:BI Publisher (formerly XML Publisher) - Version 188.8.131.52.x to 184.108.40.206.x [Release 11.1]
Information in this document applies to any platform.
After upgrading from BI Publisher 220.127.116.11 to 18.104.22.168.150120, a few of reports that rely on calculating percentages, including decimals are omitting any values that contain a decimal value. Upon further research found BUG 16216900 - ADDING CALCULATIONS IN SQL FORCES THE RESULT TO BE INTEGER RATHER THAN DOUBLE. However, patch set is already above the recommended patch in the bug information.
Tried changing the data type in the data model from Integer to another value, but not able to change this value to anything except Integer.
As a workaround, rounded the decimal number to be a whole number.
Need a solution for the long term.
XML Publisher Application Server
This problem is preventing us from providing the level of accuracy needed for percentages in reports.
Can only show whole numbers instead of being able to be more accurate with statistics.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document