Adding Calculations in SQL Forces the Result to be Integer Rather than Double
Last updated on JULY 26, 2017
Applies to:BI Publisher (formerly XML Publisher) - Version 220.127.116.11.x to 18.104.22.168.x [Release 11.1]
Information in this document applies to any platform.
After upgrading from BI Publisher 22.214.171.124 to 126.96.36.199.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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms