Building Workbooks and Navigating Data

Navigating Data Using Hierarchies

Objective

After completing this lesson, you will be able to navigate hierarchical data in a SAP Analytics Cloud table by activating hierarchies, expanding and collapsing nodes, and resetting the table to analyze data at multiple levels of aggregation.

What a Hierarchy Displays in Your Table

When a dimension in your model is organized into hierarchical levels, the add-in can display that structure directly in your table. A hierarchy lets you navigate your data from a high-level summary down to individual detail - without changing the underlying data or leaving your worksheet. This is useful when you want to analyze data at multiple levels of aggregation within a single table.

When a hierarchy is active for a dimension, the add-in displays parent nodes and their child members in a structured list. Parent nodes show aggregated values for all members beneath them. You can expand a parent node to reveal its child members, or collapse it to hide them and show only the summary value.

Members marked with # such as # Unassigned - represent data that exists in the model but is not assigned to any node in the current hierarchy.

Activate a Hierarchy for a Dimension

A dimension can have one or more hierarchies defined in the model. By default, the add-in may display the dimension without a hierarchy, showing a flat list of all members.

To activate a hierarchy, select any cell in your table, then open the Designer panel and choose the Builder tab. In the Rows or Columns area, locate the dimension you want to configure and choose the More icon next to its name. From the menu that appears, choose Hierarchy. Select the hierarchy you want to apply and choose OK.

SAP Analytics Cloud add-in opens the Set Hierarchy dialog with Product Hierarchy selected for the Product row dimension.

Expand and Collapse Hierarchy Nodes

Once a hierarchy is active in your table, you can navigate its levels in two ways:

  • Directly in the table

    Choose the Expand arrow next to a node to reveal its child members. Choose the Collapse arrow to hide them and return to the summary view. This lets you drill into a specific node without affecting the rest of the table.

  • Using the Expand / Collapse command

    In the SAP Analytics Cloud tab, choose Expand / Collapse to open a dropdown menu that gives you precise control over how hierarchy levels are displayed. Choose Expand All to reveal all nodes across the entire dimension at once, or Collapse All to hide all child members and return to the top-level summary. To act on a single node, first select a cell within that node in the table, then choose Expand Current Node to reveal its direct child members, or Collapse Current Node to fold them back. Use Expand to / Collapse to when you want to navigate the entire dimension to a specific level in one step.

The SAP Analytics Cloud ribbon opens the Expand/Collapse menu, with options to expand or collapse all or the current nodes.

Display a Flat List with Flat Presentation

The hierarchy dialog always includes a Flat Presentation option, in addition to any named hierarchies defined in the model. When you select this option, the add-in removes the tree structure and displays all dimension members as a plain, unstructured list - without parent nodes or aggregation levels. This is useful when a hierarchy is active by default for a dimension, but your analysis requires a simpler, non-hierarchical view of the data.

Reset Table

As you explore and configure your table - adding or removing dimensions, activating hierarchies, applying filters, or adjusting display options - you may want to discard all changes and return to a known starting point. The Reset Table option lets you do this in a single action, without closing or reopening the workbook.

When you reset a table, the add-in reverts all navigation and configuration steps performed since the last save. If you have not yet saved the workbook, the table returns to its initial default state - the configuration generated when you first inserted it.

SAP Analytics Cloud table options menu in Excel highlights Reset Table.

Set Up the Initial Table

  • Business Scenario

    You have launched the SAP Analytics Cloud, add-in for Microsoft Excel, and are ready to set up the workbook for the forecast. You must insert the data source and set up the initial table, for example, add dimensions to rows and add an attribute.

    Once you have set up the initial table, you want to view the actuals for the account and subaccounts you are responsible for before you start to compile your forecast numbers.

  • Task Flow

    In this practice exercise, you will:

    • Set up the initial table.
    • View actuals for accounts and subaccounts.
    • Expand the hierarchy for the account.

Summary

Let's summarize what you've learned:

  • Use hierarchies to navigate data from summary levels to detailed members within one table.
  • Activate a hierarchy for a dimension from the Designer panel using the Hierarchy option.
  • Expand or collapse nodes directly in the table or through the Expand / Collapse menu.
  • Use Flat Presentation to remove hierarchy levels and display dimension members as a simple list.
  • Reset the table to discard unsaved navigation and configuration changes.