IBM Support

PH52140: REPORT USING NUMBER FORMAT WITH SCALE -6 AND DECIMAL PLACES SET TO 1 DISPLAYS DIFFERENT VALUES IN HTML AND EXCEL

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as user error.

Error description

  • Summarized values are in millions, with scale -6 and one decimal
    place.
    

Local fix

Problem summary

Problem conclusion

Temporary fix

Comments

  • Cognos analytics, by default, uses halfEven rounding rules.
    Microsoft Excel uses different rounding rules which explains the
    difference between HTML/PDF and Excel outputs. There are
    multiple workarounds. First, the customer can change the
    rounding rule to match Excel, if they prefer. See here for how
    to do this:
    https://www.ibm.com/support/pages/how-set-server-rounding-rules-
    data-formatting. Secondly, ensure that any rounding is done
    before data formatting has been applied - for example, at the
    query/data item level. This would ensure that the data that is
    provided to Excel is already rounded. Otherwise you are relying
    on how Excel wants to round numbers.
    

APAR Information

  • APAR number

    PH52140

  • Reported component name

    COGNOS ANALYTIC

  • Reported component ID

    5724W12XX

  • Reported release

    B0A

  • Status

    CLOSED USE

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-01-25

  • Closed date

    2023-02-01

  • Last modified date

    2023-02-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTSF6","label":"Cognos Analytics"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B0A","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
01 February 2023