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 11.1.1.7.x to 11.1.1.7.x [Release 11.1]
Information in this document applies to any platform.

Symptoms

After upgrading from BI Publisher 11.1.1.6 to 11.1.1.7.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.

BIP version
11.1.1.7.150120

XML Publisher Application Server
Weblogic 10.3.6


Impact:
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.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms