You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to sum the data of alternate hierarchy?

in Planning 20 comments

Hello everyone,

I have one question about the function for sum data of alternate hierarchy.

I have Hierarchy which is like this:

And member A4 appears under both hierarchy 1 & 2.

When I use the function @SUMRANGE to sum the data or this hierarchy:

@SUMRANGE(****, @RELATIVE(Hierarchy,0);

I found that the data of A4 is a duplicate.

So I searched on Oracle Calculation lists and found the function called @MERGE (https://docs.oracle.com/en/database/other-databases/essbase/21/esscq/merge.html)

And I modified my calculation : @SUMRANGE(****, @MERGE(@RELATIVE("Hierarchy 1",0), @RELATIVE("Hierarchy 2",0)));

However, it gave me the same result as @SUMRANGE(****, @RELATIVE(Hierarchy,0);

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!