Elastic Vertical Axes (Excel)

Patterns

Context

The situation described in Elastic Axes also arises when using Excel-Link. That is, in sheets that display numerical breakdowns by department, product group, account, and so on, members of dimensions such as departments, product groups, and accounts will be arranged along the vertical or horizontal axis, with figures displayed for each of them.

Departments, product groups, accounts, and so on may be added to or abolished from a dimension, or the grouping used for aggregation may change (for example, the headquarters overseeing the Mie Branch may change from the Kansai Regional Headquarters to the Chubu Regional Headquarters). Since Excel-Link sheets tend to be numerous, modifying each of them one by one whenever such a change occurs is time-consuming.

Problem

When a "member" representing an individual department, product group, etc. is added to a dimension, removed from a member tree, or moved within a member tree — in short, whenever a member tree is changed in any way, we want the change to be reflected automatically in the tables displayed with Excel-Link.

Forces

  • Immediate propagation: Changes to a member tree should be reflected immediately in the axes of all intended Excel-Link sheets.

  • Ease of configuration: The configuration needed to reflect member tree changes in individual Excel-Link sheets should be simple and require only a small amount of description.

  • Sharing: There may be many Excel-Link sheets that need to display a member tree under the same conditions. In such cases, a means of sharing the configuration should be provided, not only to reduce configuration effort but also to make communication about Excel-Link sheet specifications easier.

  • Single-level and multi-level display: When displaying a hierarchy such as an organization in a form, you may display only a single level, or display a breakdown across multiple levels. In either case, changes to the member tree should be reflected automatically.

Solution

Use Excel-Link template processing to repeat a group of rows for each member included in a specified member list. Template processing allows variable repetition only in the row direction.

In a template processing sheet, loops, that is, repetitions of groups of rows, can be expanded in the vertical direction. Each loop is assigned a specific dimension and a specific member list of that dimension, and a group of rows is expanded for each member included in that member list. Loops can also be nested.

For a detailed explanation, see Template Processing in the user manual.

Examples

―

Consequences

Benefits

  • Immediate propagation: Member lists are recreated each time data is retrieved in an Excel-Link sheet, reflecting the latest contents of each dimension, so columns and rows are displayed based on the latest dimension contents.

  • Ease of configuration: A member list definition has only a few settings.

  • Sharing: Member lists can be defined as part of a dimension rather than on an Excel-Link sheet. By referring to and applying a member list definition of a dimension in Excel-Link sheets, configuration effort is reduced and communication about specifications becomes easier.

  • Single-level and multi-level display: By specifying the "Expansion Method" of a member list, you can include not only direct child members but also descendant members.

Liabilities

  • Ease of configuration: If you want to display calculated items that cannot be expressed as aggregated members between members, the configuration becomes complex, because the member list has to be split. For example, suppose you want to display the following sequence of P/L accounts dynamically with template processing:

    Sales
    Cost of Sales
    Gross Profit
    (Gross Margin Ratio)      <- calculated item
    SG&A Expenses
    Operating Income
    (Operating Margin Ratio)  <- calculated item
    …

    In this example, Gross Margin Ratio is a calculated item on the sheet, and there is no corresponding account member. Such a display is not possible with template processing. Since only one template can be set up per sheet, you also cannot do what is possible in forms: display the items from Sales to Gross Profit with one Loop Specification and member list, display Gross Margin Ratio as a calculated item, and then display the items from SG&A Expenses onward with another Loop Specification and member list.

    As a workaround, you could change the layout so that calculated items are placed at the top rather than in the middle. In this case, an indicator section is placed above the range where all P/L accounts are listed, and the calculated items are displayed there.

    …
    (Gross Margin Ratio)      <- calculated item
    (Operating Margin Ratio)  <- calculated item
    …
    Sales
    Cost of Sales
    Gross Profit
    SG&A Expenses
    Operating Income
    …

    In this example, the indicator section is an ordinary linked region that is not part of the template range. Data is retrieved within it and the indicators are calculated there. The rows from Sales onward form the range where the results of template processing are displayed.

Preceding Patterns

―

Succeeding Patterns

  • When a dimension has multiple member trees, you can create an Excel-Link sheet in which the member tree used to arrange members in rows can be selected from among them. This is useful when you set up "Generational Member Trees" or "Multiple Aggregation Trees". See each pattern for details.

  • This pattern is intended for Excel-Link sheets. In forms, loops allow you to make both the vertical and horizontal axes variable. See "Elastic Axes".