0% found this document useful (0 votes)
172 views10 pages

Calculating Across Cubes Using @XREF

The document discusses the @XREF function in Essbase which allows for cross-cube calculations by resolving references to different dimension structures and members. It provides examples of using @XREF to lookup rates in another cube or work with databases that have different dimensions. The syntax and how @XREF resolves references between the source and target databases is explained.

Uploaded by

adityasday
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
172 views10 pages

Calculating Across Cubes Using @XREF

The document discusses the @XREF function in Essbase which allows for cross-cube calculations by resolving references to different dimension structures and members. It provides examples of using @XREF to lookup rates in another cube or work with databases that have different dimensions. The syntax and how @XREF resolves references between the source and target databases is explained.

Uploaded by

adityasday
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Special Topics

in
Calculations:
Using @XREF

Marketing Technologies Group


What is @XREF?
Essbase calc function that provides cross-
cube calculation
Outline or scripts
Resolves references to different dimension
structures and different members
Dynamic calcs or batch calcs
Not supported in Aggregate Storage

Marketing Technologies Group


Examples of @XREF use

Lookup rates in another cube


Work with databases with different dimensions
Avoid loading high

Marketing Technologies Group


@XREF syntax

@XREF (locationAlias [, mbrList])

locationAlias is the server, application,


database and login of the source data
mbrList is the source intersections

Marketing Technologies Group


How XREF Resolves References:
The member specified in the member list
The current target database point of view
The generation one member name, that is,
the dimension name

Marketing Technologies Group


How XREF Resolves References
Source DB Result Passed to Target DB
Target dimension & member exist Member Value
Target dimension exists but Generation 1 (Dimension Name
member name does not Member) value
Some members of the target The value of the existing matched
intersection (point of view) exist members intersection (point of
but some do not view) is passed to all members of
the target database
Target dimension does not exist Value of member/s specified in
mbrList

Marketing Technologies Group


Esscmd for @XREF
CREATELOCATION alias host application
database user_name password
DELETELOCATION alias
LISTLOCATIONS

Marketing Technologies Group


MaxL for @XREF
create location alias aliasname from
sourceapp.sourcedb to targetapp.targetdb at
server as user identified by password
E.g.
Create location alias xRates from Sample.Rates
to Sample.Basic at Gomez as Admin identified
by password;

Marketing Technologies Group


MaxL for @Xref
drop location alias app.db.alias;
E.g.
drop location alias Sample.Basic.xRates;

Marketing Technologies Group


Other issues
Create blocks ramifications

Performance ramifications

Marketing Technologies Group

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy