HP Storage Essentials Storage Resource Management Report Optimizer Software 6.0 Building Reports Using the Web Intelligence Java Report Panel (August 2008)

Creating custom calculations318
Default contexts in a break
A break consists of a header, body and footer. The default contexts in a break are:
Example: Default contexts in a break
Modifying the default calculation context using extended syntax
What if the default context of a formula or measure is not the context that you need? In this
case, you can use extended syntax to tailor the context to the context you are looking for.
What is extended syntax?
Extended syntax uses context operators that you add to a formula or measure to specify its
context. A measure or formula’s context consists of its input context and output context.
What is an input context?
A formula’s input context consists of the dimensions that feed into the formula.
The calculation is in
the...
The input context is... The output context is...
Header Current instance of
the break.
All the data is
aggregated, then the
calculation function
returns a single value.
Footer Current instance of
the break.
All the data is
aggregated, then the
calculation function
returns a single value.
Input context (Year,
Quarter); data aggregated