IBM Support

PI95772: RUNNING-DIFFERENCE GAVE INCORRECT RESULTS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as suggestion for future release.

Error description

  • There are 4 crosstabs in the sample report:
    Crosstab 1.1 and 1.2 are placed to help validate the calculation
    in Crosstab 2 and 3. There's no problem in Crosstab 1.1 and 1.2.
    Crosstab 2 and 3 are to calculate running difference based on
    Crosstab 1.1 and 1.2 using the same expression but give
    different results, and both results are intermittently wrong.
    

Local fix

Problem summary

Problem conclusion

Temporary fix

Comments

  • This is working as designed.  The running difference is for the
    distinct count for a country. This involves calculating the
    different in values between two rows in the result for the
    current country. The cases where the values are not as desired
    are occurring only when there is no country in context in the
    query.
    
    To return the desired values in the crosstab requires using a
    different expression when there is no country in context. For
    the report attached to in this APAR, Crosstab 2 needs to have
    the row summary "Total" replaced with a calculation with the
    following expression:
    
        running-difference (count (distinct ([Sales
    (query)].[Sales].[Quantity])) for [Sales
    (query)].[Retailers].[Region])
    

APAR Information

  • APAR number

    PI95772

  • Reported component name

    COG WRKSPC

  • Reported component ID

    5724W12BI

  • Reported release

    B09

  • Status

    CLOSED SUG

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-03-26

  • Closed date

    2019-06-07

  • Last modified date

    2019-06-07

  • 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":"BU048","label":"IBM Software"},"Product":{"code":"SSCHNWM","label":"Workspace v11x"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B09","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
07 June 2019