Get Wrong Result From Expression Relation EQ NA

(Doc ID 1421866.1)

Last updated on FEBRUARY 02, 2017

Applies to:

Oracle OLAP - Version: 11.2.0.1 to 11.2.0.3 - Release: 11.2 to 11.2
Information in this document applies to any platform.

Symptoms

Adding values to an integer dimension where the relation is NA, then it returns
the correct value, but if adding again values, then getting a wrong values
and the last adding values are not counted.

For example:

DEFINE EXAMPLE.LIMIT PROGRAM
PROGRAM
define intdim dimension integer
define otherdim dimension id
maintain otherdim add 'FIRST' 'SECOND'
define idotherdim relation otherdim <intdim>

maintain intdim add 100

limit intdim to idotherdim eq NA
show statlen(intdim)

maintain intdim add 200

limit intdim to idotherdim eq NA
show statlen(intdim)
END

->example.limit
100

The result is still 100, instead of, 300.

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